-
2006.12.05 17:18 "Re: [Tiff] Grayscale, or is it?", by Bob Friesenhahn
-
2006.12.05 17:34 "Re: [Tiff] Grayscale, or is it?", by Joris Van Damme
-
2006.12.05 17:45 "Re: [Tiff] Grayscale, or is it?", by Bob Friesenhahn
-
2006.12.05 18:44 "Re: [Tiff] Grayscale, or is it?", by Joris Van Damme
-
2006.12.05 22:10 "Re: [Tiff] Grayscale, or is it?", by Frank Warmerdam
- 2006.12.05 20:37 "Re: [Tiff] Grayscale, or is it?", by Joris Van Damme
-
2006.12.05 22:10 "Re: [Tiff] Grayscale, or is it?", by Frank Warmerdam
-
2006.12.05 18:44 "Re: [Tiff] Grayscale, or is it?", by Joris Van Damme
-
2006.12.05 17:45 "Re: [Tiff] Grayscale, or is it?", by Bob Friesenhahn
-
2006.12.05 17:34 "Re: [Tiff] Grayscale, or is it?", by Joris Van Damme
-
2006.12.05 22:56 "[Tiff] Re: Tiff Digest, Vol 31, Issue 3", by Glenn Widener
- 2006.12.05 23:26 "Re: [Tiff] Re: Tiff Digest, Vol 31, Issue 3", by Toby Thain
- 2006.12.06 01:58 "Re: [Tiff] Re: Tiff Digest, Vol 31, Issue 3", by Graeme Gill
- 2006.12.06 20:56 "[Tiff] Re: Grayscale, or is it?", by Joris Van Damme
- 2006.12.06 21:57 "Re: [Tiff] Grayscale, or is it?", by Graeme Gill
2006.12.05 21:30 "Re: [Tiff] Grayscale, or is it?", by Joris Van Damme
Edward,
So that's three out of three in favor of option 1), and confirming option 1) is common practice.
For the record, I don't use LibTiff's RGBA interface (ie. use TIFFReadEncodedStrip() or TIFFReadEncodedTile() instead) so I should probably abstain from voting. :)
None of your previous comments were public, so I didn't actually include you in the count. I did include myself, hence that number three, even though I used to prefer option 3) before, because I got convinced option 3) has little basis.
Nonetheless... You don't need to use LibTiff's RGBA interface to explicitely or implicitely have an opinion. Just answer this question: when you read 8bit MinIsBlack greyscale (Photometric 1, otherwise known as BlackIsZero and PHOTOMETRIC_MINISBLACK) from TIFF, in order to display on a normal sRGB monitor, do you do any non-lineair conversion in between decoding and display, or do you just set the R, G, and B values directly with the greyscale values as read from the TIFF file?
Best regards,
Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html