ygoe Posted September 29, 2022 Posted September 29, 2022 Hello, I've designed a very simple logo to use in a PCB design. I need this as a black-and-white bitmap image. So I thought I'd just use Affinity Designer to quickly draw it up and export as PNG. This is what it looks on the screen: And this is how the exported PNG looks in all image viewers: What are these black dots all over the place trying to tell me? I exported it with these settings: PNG, bilinear, no ICC profile, with palette, black and white, no metadata Affinity Designer 1.10.5 on Windows 10 Pb-free-symbol.afdesign Quote
walt.farrell Posted September 29, 2022 Posted September 29, 2022 You might try opening Designer's Preferences, Performance, and disabling Hardware Acceleration (OpenCL) if it's enabled. Then try the export again after you restart the application. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Staff Callum Posted September 30, 2022 Staff Posted September 30, 2022 13 hours ago, ygoe said: It's already disabled. Please could you provide a screenshot of your export settings within Affinity? This file seems to export fine for me here. Quote Please tag me using @ in your reply so I can be sure to respond ASAP.
GarryP Posted September 30, 2022 Posted September 30, 2022 (edited) I’ve just exported, on Windows 10, using the settings in my first attached image and I get the second attached image, same as the OP. Notes: Disabling the Palletised option seems to make it work okay. Changing the palette to Greyscale with two colours gives me the same problem as with Black & White. Changing the palette to Greyscale with four colours gives me the third image. Edited September 30, 2022 by GarryP Added more details. Quote
NotMyFault Posted February 22, 2024 Posted February 22, 2024 no but in my view. You need to set anti-aliasing to forced off. Otherwise you get greyscale pixel at the edges and the dithering will create those unwanted dots. For B/W dithered export, no other colors than pure 0/1 should occour inside document, as those trigger dithering. Alternatively, you can add a white rectangle as background to remove transparencies add an threshold adjustment. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Circulus Posted February 22, 2024 Posted February 22, 2024 1 minute ago, NotMyFault said: no but in my view. You need to set anti-aliasing to forced off. Otherwise you get greyscale pixel at the edges and the dithering will create those unwanted dots. Alternatively, you can add a white rectangle as background to remove transparencies add an threshold adjustment. Guess you wanted to reply to my topic related to this topic. I tried to export that file to B&W while using exactly a threshold adjustment. Quote I think Serif wants us to be only creative in finding workarounds to use their tools. I have an affinity with Jumping through Hoops and over Humps. Dealing with Speedbumps and finding Work-A-Roundabouts. I'm getting dizzy from all that spinning and jumping.
NotMyFault Posted February 22, 2024 Posted February 22, 2024 4 minutes ago, Return said: Guess you wanted to reply to my topic related to this topic. I tried to export that file to B&W while using exactly a threshold adjustment. Threshold alone does not help as anti-aliasing is done on alpha channel and threshold does not correct partial alpha. You need to add fill layer, too. To spot this you need Photo and Channels panel. my answer is valid for this thread and the report of OP and his example file which has transparent background. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Circulus Posted February 22, 2024 Posted February 22, 2024 But my file has no transparency whatsoever. See attached. Note it isn't that important to me just a tryout. MMKB15_000910093_mpeg21_p00004_image.jpg.ac3c7273a37ce6c526d1192b7d2df6f6.afpub Quote I think Serif wants us to be only creative in finding workarounds to use their tools. I have an affinity with Jumping through Hoops and over Humps. Dealing with Speedbumps and finding Work-A-Roundabouts. I'm getting dizzy from all that spinning and jumping.
NotMyFault Posted February 22, 2024 Posted February 22, 2024 Below a video with Designer V1 on iPad showing the correct export with AA off and unwanted dots with AA on. RPReplay_Final1708638692.mov Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted February 22, 2024 Posted February 22, 2024 Your file has a layer fx with blur on top of threshold. This again leads to greyscale value, see histogram. Circulus 1 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Circulus Posted February 22, 2024 Posted February 22, 2024 I know, it was just the thing trying out to smooth out the threshold pixelation. Thanks for looking, I'm of to bed now,alarm clock will go of at 5 Quote I think Serif wants us to be only creative in finding workarounds to use their tools. I have an affinity with Jumping through Hoops and over Humps. Dealing with Speedbumps and finding Work-A-Roundabouts. I'm getting dizzy from all that spinning and jumping.
NotMyFault Posted February 22, 2024 Posted February 22, 2024 If you want a clear dithered B/W export of a PNG, the source file should be fully opaque (no transparencies). Dithered export will apply matting of transparencies anyways. But partial transparencies will cause mid grey pixels. have only pure black or pure white pixels. Any other color value triggers dithering. check with help of histogram. It must be U shaped: only 0 or 1 color values. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.