Matt42 Posted August 24, 2021 Share Posted August 24, 2021 I am trying to create an image which is in purely black and white, no shades of grey; How do I do this? My ideas are: - Make the rendering resolution of the document equal to the output resolution (1x) (disable antialiasing) -- Ideal solution - Reduce the colour space to just black and white - Some export option I haven't thought of I have also tried the palettised export setting but that produces a lot of artefacts (below) Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 24, 2021 Share Posted August 24, 2021 The Affinity apps do not support monochrome (1 bit) images. You can disable antialiasing (so there are no grey edges) & use only pure black & pure white in your document, but it still will be a greyscale image. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
lacerto Posted August 25, 2021 Share Posted August 25, 2021 (...) Matt42 1 Quote Link to comment Share on other sites More sharing options...
telemax Posted August 25, 2021 Share Posted August 25, 2021 You can do this with Posterise Adjustment, with a minimum value of 2. Or as previously mentioned, by disabling antialiasing.Posterise_Adjustment.afphoto Posterise_Adjustment.mp4 This can also be fine-tuned using the Coverage Map. Coverage_Map.mp4 Matt42 1 Quote Non-destructive Mask https://forum.affinity.serif.com/index.php?/topic/150439-non-destructive-mask/Image layer & Pixel layer https://forum.affinity.serif.com/index.php?/topic/146720-image-layer-and-pixel-layer/Brushes | Stars https://forum.affinity.serif.com/index.php?/topic/135202-brushes-stars/ Link to comment Share on other sites More sharing options...
David in Яuislip Posted August 25, 2021 Share Posted August 25, 2021 Try a gradient map. As for palletised png exports I have yet to find a use for the Affinity implementation, not being able to turn off dithering is, errrr, curious Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10 Link to comment Share on other sites More sharing options...
John Rostron Posted August 25, 2021 Share Posted August 25, 2021 You could also use a Threshold Adjustment (Layers > Adjustment Layer > Threshold). Even this will get exported as a greyscale though. John Matt42 and telemax 2 Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
telemax Posted August 25, 2021 Share Posted August 25, 2021 Hmm, there's another way, just a rectangle with Contrast Negate blending mode.Contrast_Negate.afphoto Contrast_Negate.mp4 Matt42 1 Quote Non-destructive Mask https://forum.affinity.serif.com/index.php?/topic/150439-non-destructive-mask/Image layer & Pixel layer https://forum.affinity.serif.com/index.php?/topic/146720-image-layer-and-pixel-layer/Brushes | Stars https://forum.affinity.serif.com/index.php?/topic/135202-brushes-stars/ Link to comment Share on other sites More sharing options...
lacerto Posted August 25, 2021 Share Posted August 25, 2021 (...) Quote Link to comment Share on other sites More sharing options...
Matt42 Posted August 25, 2021 Author Share Posted August 25, 2021 4 hours ago, telemax said: You can do this with Posterise Adjustment, with a minimum value of 2. Or as previously mentioned, by disabling antialiasing.Posterise_Adjustment.afphoto Posterise_Adjustment.mp4 1.07 MB · 0 downloads This can also be fine-tuned using the Coverage Map. Coverage_Map.mp4 518.46 kB · 0 downloads Thanks! This is exactly what I wanted Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 25, 2021 Share Posted August 25, 2021 4 hours ago, Matt42 said: Thanks! This is exactly what I wanted Note however that the Posterise_Adjustment.afphoto file is currently using the RGB/8 color format, & even if you change that to Grey/8, the export will still be in the greyscale color space. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Fixx Posted August 26, 2021 Share Posted August 26, 2021 21 hours ago, R C-R said: the export will still be in the greyscale color space. unless you specify 1-bit format in export – that would be available in PNG and GIF formats. And they may produce dithering artifacts as you have noticed. Now we have closed the circle. Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 26, 2021 Share Posted August 26, 2021 1 hour ago, Fixx said: unless you specify 1-bit format in export – that would be available in PNG and GIF formats. Are you sure about that? Even when I specify a Black & White palette for a PNG or GIF export, I do not get a 1 bit export from any Affinity app. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
lacerto Posted August 26, 2021 Share Posted August 26, 2021 (...) telemax 1 Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 26, 2021 Share Posted August 26, 2021 23 minutes ago, Lagarto said: They are technically 8-bit indexed (paletted) images with black and white colors defined, the other slots (total of 256) empty. Yes, that is what I was referring to when I said they do not export as 1 bit images. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Matt42 Posted August 26, 2021 Author Share Posted August 26, 2021 As much as I appreciate that the image is not being stored in 1-bit format, this isnt necessary for what I'm doing. Thanks for the help though. Quote Link to comment Share on other sites More sharing options...
lacerto Posted August 26, 2021 Share Posted August 26, 2021 (...) Quote Link to comment Share on other sites More sharing options...
Fixx Posted August 27, 2021 Share Posted August 27, 2021 13 hours ago, Lagarto said: They are technically 8-bit indexed (paletted) images with black and white colors defined, the other slots (total of 256) empty. That may be but hey still behave like 1-bit images. (I suspect the difference between 1-bit and indexed is not "architectural" but slight variation of the same format). They open as bitmap (1-bit) in Photoshop and behave like 1-bit in InDesign. Quote Link to comment Share on other sites More sharing options...
lacerto Posted August 27, 2021 Share Posted August 27, 2021 (...) Fixx 1 Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 27, 2021 Share Posted August 27, 2021 7 hours ago, Lagarto said: It is possible to export a true 1-bit PNG from Affinity Photo... Can you post an example of a true 1 bit PNG created in any Affinity app, & also explain what export settings you used to do this? AFAIK, the best Affinity can do is indexed color, with just two colors in its CLUT, not true one bit monochrome (A.K.A. binary) in which there are only two possible pixel values. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
lacerto Posted August 27, 2021 Share Posted August 27, 2021 (...) Alfred, R C-R and telemax 3 Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 27, 2021 Share Posted August 27, 2021 20 minutes ago, Lagarto said: It was produced with the following settings: Thanks for that. Yesterday, I tried doing the same thing with the same settings but for some inexplicable reason I kept getting PNG files that XnViewMP said were 8 bit. Today, the same settings produce PNGs that XnViewMP confirms are 1 bit & use a Black & White color model: I have no idea why this was not working yesterday. BTW, I also tried using Palletized set to Automatic & 2 colors & this also produces 1 bit Black & White color model PNGs according to XnViewMP. However, the PNG's this produces are not useable because everything not 100% transparent is pure black. I have also been playing around with GIF exports using similar palletized settings & can also get GIF exports with 1 bit per pixel color depths, but with a "Color Resolution Depth" of 8, so I suppose that just means GIFs always can support up to 256 colors. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
lacerto Posted August 27, 2021 Share Posted August 27, 2021 (...) Quote Link to comment Share on other sites More sharing options...
lacerto Posted August 28, 2021 Share Posted August 28, 2021 (...) telemax 1 Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 28, 2021 Share Posted August 28, 2021 Regarding XnViewMP & using ExifTool to get more accurate info, as I understand it, XnViewMP uses ExifTool as a backend to read a lot of info. So for example, your 1 bit yinyang from your last post shows this in the bottom half of the Info panel when the ExifTool tab is selected. Two days ago, I assume I was doing something wrong when I tried to export using (among others) the same settings you showed & kept getting 8 bit PNGs. But like I said, yesterday everything was working as I assume it should & I could produce 1 bit PNGs & (I think) GIFs. Quote All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
wvanderzee Posted May 11, 2022 Share Posted May 11, 2022 Not a monochrome option in Photo? Pfff... Fixx 1 Quote Link to comment Share on other sites More sharing options...
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.