Re: tiff:photometric and CCITT compression
Bob Friesenhahn <[email protected]> Mon, 16 Oct 2023 18:40:45 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 16 Oct 2023, frechefuchs via Graphicsmagick-help wrote: > > I can confirm that the attached patch enables GM to write CCITT encoded > TIFF files with photometric interpretation 'minisblack'. I've done > tests with Group3 and 4 compression with stripped and tiled images. No > suspicious behaviour in any image viewer. Also, read-in the files by GM > again, without a problem. tiffinfo looks good. Processing GM output > with tiff2pdf (libtiff) and tifftopnm (netpbm), the output also looks good. I have decided that I don't like the patch as is because it removes photometric checks entirely so that someone could request a truely incompatable photometric. I will re-work it. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt