How to create a group4 compressed tiff with tiff:photometric: min-is-black?
Posted: 2018-08-19T03:23:28-07:00
Hi,
I'm trying to create a TIFF file containing CCITT Group4 encoded monochrome data with a photometric interpretation of min-is-black.
I tried running the following:
But both varieties give me a TIFF file with min-is-white:
How do I produce a Group4 compressed TIFF image with tiff:photometric: min-is-black?
my version: ImageMagick 6.9.10-8 Q16 x86_64 20180723 (the one packaged in Debian unstable)
I'm trying to create a TIFF file containing CCITT Group4 encoded monochrome data with a photometric interpretation of min-is-black.
I tried running the following:
Code: Select all
$ convert logo: -define quantum:polarity=min-is-black -compress Group4 out1.tif
$ convert logo: -compress Group4 -define quantum:polarity=min-is-black out2.tif
Code: Select all
$ identify -verbose out1.tif | grep tiff:photometric:
tiff:photometric: min-is-white
$ identify -verbose out2.tif | grep tiff:photometric:
tiff:photometric: min-is-white
my version: ImageMagick 6.9.10-8 Q16 x86_64 20180723 (the one packaged in Debian unstable)