Jump to content
You must now use your email address to sign in [click for more info] ×

How to export a Monochrome image (not greyscale)


Recommended Posts

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)
test.png.2317bbd8b00dd97523a4929584609b6c.png

Link to comment
Share on other sites

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.

All 3 1.10.8, & all 3 V2.4.1 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

You can do this with Posterise Adjustment, with a minimum value of 2. Or as previously mentioned, by disabling antialiasing.
Posterise_Adjustment.afphoto
 

 

This can also be fine-tuned using the Coverage Map.

Link to comment
Share on other sites

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

gradmap.png

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

You could also use a Threshold Adjustment (Layers > Adjustment Layer > Threshold).  Even this will get exported as a greyscale though.

John

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

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
 

 

 

This can also be fine-tuned using the Coverage Map.

 

Thanks! This is exactly what I wanted

Link to comment
Share on other sites

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.

All 3 1.10.8, & all 3 V2.4.1 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

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.

Link to comment
Share on other sites

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.

All 3 1.10.8, & all 3 V2.4.1 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

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. 

All 3 1.10.8, & all 3 V2.4.1 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

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.

Link to comment
Share on other sites

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.

All 3 1.10.8, & all 3 V2.4.1 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

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:

876846299_imageinfo.jpg.30d538496c3a3c94dd053154bc57c304.jpg

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.

All 3 1.10.8, & all 3 V2.4.1 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

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.

264869156_exifinfo.jpg.2219e6a1f8e4b7190d755370ee966318.jpg

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.

All 3 1.10.8, & all 3 V2.4.1 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

  • 8 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.