Corrupt tif bi-level image exported without flattening the image
GIMP version: 2.10.12
Saving bi-level image as tiff without first flattening the image gives a totally corrupt tif file.
How to reproduce:
- file -> open a black and white pdf file
- image -> mode select indexed and use black and white (1-bit) palette
- file -> export as xxx.tif (no compression)
opening the file gives a gimp message "Execution error for procedure 'gimp-image-set-color-profile': ICC profile validation failed: Color profile is not for grayscale color space." and a rather corrupt image.
Adding a "flatten image" between steps 2 and 3 gives a correct tif file.
Gimp version: 2.10.12 Operating system: Windows 7