AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.11.27 21:46 "[Tiff] Bugzilla is operational again", by Frank Warmerdam
2007.01.18 20:01 "[Tiff] tif_getimage - using colormap even if photometric interp wrong", by Frank Warmerdam
2007.01.18 19:47 "RE: [Tiff] tif_getimage - using colormap even if photometric interpwrong", by Chris Cox
2007.01.18 20:47 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Joris Van Damme
2007.01.18 21:25 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Frank Warmerdam
2007.01.22 10:13 "Re: [Tiff] tif_getimage - using colormap even ifphotometricinterpwrong", by Gerben Vos
2007.01.18 23:33 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Bob Friesenhahn
2007.01.18 23:54 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Joris Van Damme
2007.01.18 20:29 "Re: [Tiff] tif_getimage - using colormap even if photometric interp wrong", by Bob Friesenhahn

2007.01.18 23:33 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Bob Friesenhahn

The main thing is, you can rightly make the codec behave robust on wrong images. But it is not right to make it behave wrong on whatever image. That creates more problems further down the road, then it solves. Taking a Colormap into account when Photometric is MINISBLACK is just that, it is just wrong.

There are really interesting things you can do with an extra colormap. For example, even if the original image is grayscale, it can be viewed "in color" by applying an extra colormap. The fact that useful applications exist for attaching a colormap to the image which is not (by default) used to view the image means that it should not be used by default if it exists.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/