AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.05.25 09:52 "[Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Kelvin Zhong
2005.05.25 10:41 "Re: [Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.26 01:50 "Re: [Tiff] How to Write a tif file with c ompression = COMPRESSION_JPEG & photometr ic = PHOTOMETRIC_YCBCR ?", by Kelvin Zhong
2005.05.26 08:37 "Re[2]: [Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.26 10:02 "Re[2]: [Tiff] How to Write a tif file wit h compression = COMPRESSION_JPEG & photom etric = PHOTOMETRIC_YCBCR ?", by Kelvin Zhong
2005.05.26 12:24 "Re[3]: [Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.26 13:03 "Re: Re[3]: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Joris Van Damme
2005.05.26 14:10 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.26 16:23 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Joris Van Damme
2005.05.26 16:50 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Bob Friesenhahn
2005.05.26 17:00 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG&photometric = PHOTOMETRIC_YCBCR ?", by Joris Van Damme
2005.05.26 19:30 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Chris Cox
2005.05.26 19:34 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Bob Friesenhahn
2005.05.26 19:41 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Chris Cox
2005.05.26 19:38 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Chris Losinger
2005.05.26 19:43 "[Tiff] Re: Byte Order rules", by Chris Cox
2005.05.26 19:48 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Bob Friesenhahn
2005.05.28 18:01 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Joris Van Damme
2005.05.30 09:42 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.30 10:31 "Re: [Tiff] How to Write a tif file with compression=COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Marti Maria
2005.05.30 13:04 "Re: [Tiff] How to Write a tif file with compression=COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.30 14:39 "Re: [Tiff] How to Write a tif file with compression=COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Marti Maria
2005.05.31 18:36 "Re: [Tiff] How to Write a tif file with compression=COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Chris Cox
2005.05.31 18:35 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Chris Cox
2005.05.31 18:54 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Bob Friesenhahn
2005.05.31 19:00 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Chris Cox

2005.05.26 16:23 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Joris Van Damme

Jean-Yves,

Yes, but do this conform to TIFF specifications?

My head is turned in a completely different direction right now. If I should think about this too much, it might explode...

But do remember that the TIFF specification intends to say barely little about what you cannot do. It mostly provides examples of what you can do, and thus it sets a spirit and line of action, and the community tends to accept all logical extensions as legit TIFF. Bob's 3 bits per pixel palette images are a perfect example. Nowhere in the spec mentioned this is. But it is a logical extension of what is mentioned, and it is completely unambigious.

The problem is with tif's PHOTOMETRIC_CIELAB continous tones *signed* representation which are, for now, without special case, traited as unsigned value by jpeg compressor/decompressor. A slight "2 or 3" difference around "128" unsigned values, can cause at the end, a differences like +/- 125 in signed vals.

OK, exploding now my head does. You are aware of course that there are two possible encoding of CIE L*a*b*? (Three, if you count ITULAB.) Does your remark apply to all of these? I really couldn't say without looking it up... Besides, we're spinning, this discussion of L*a*b* in JPEG-in-TIFF actually started with a discussion of JPEG compression of palettes...

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