AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.03.22 17:20 "tif_jpeg.c and 12bit JPEG Files", by Frank Warmerdam
2005.03.22 18:03 "Re: tif_jpeg.c and 12bit JPEG Files", by Lee Howard
2005.03.22 18:17 "Re: tif_jpeg.c and 12bit JPEG Files", by Frank Warmerdam
2005.03.22 18:33 "Re: tif_jpeg.c and 12bit JPEG Files", by Joris Van Damme
2005.03.22 18:04 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.03.22 18:10 "Re: tif_jpeg.c and 12bit JPEG Files", by Frank Warmerdam
2005.03.22 18:22 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.03.22 20:00 "Re: tif_jpeg.c and 12bit JPEG Files", by David Gilbert
2005.03.22 20:25 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.03.22 20:38 "Re: tif_jpeg.c and 12bit JPEG Files", by Frank Warmerdam
2005.03.22 21:59 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.03.22 22:28 "Re: tif_jpeg.c and 12bit JPEG Files", by Frank Warmerdam
2005.03.22 22:41 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.03.29 11:24 "Re: tif_jpeg.c and 12bit JPEG Files", by Jean-yves Le Ridant
2005.03.29 16:08 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.04.01 08:08 "Re: tif_jpeg.c and 12bit JPEG Files", by Jean-yves Le Ridant
2005.03.22 21:19 "Re: tif_jpeg.c and 12bit JPEG Files", by Chris Cox
2005.03.22 21:36 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn
2005.03.31 10:04 "Re: tif_jpeg.c and 12bit JPEG Files", by Jean-yves Le Ridant
2005.03.22 21:37 "Re: tif_jpeg.c and 12bit JPEG Files", by Chris Losinger
2005.03.23 14:08 "Re: tif_jpeg.c and 12bit JPEG Files", by Jeff Mather

2005.03.22 18:22 "Re: tif_jpeg.c and 12bit JPEG Files", by Bob Friesenhahn

On Tue, 22 Mar 2005, Frank Warmerdam wrote:
>
> On Tue, 22 Mar 2005 12:04:56 -0600 (CST), Bob Friesenhahn wrote:
> > Libtiff should also support 12 bits using 6b libjpeg if possible.  I
> > believe that the interface is compatible since it looks like the "Mk1"
> > interface.
>
> Yes, it is my hope to do a test build this way and verify that things
> work properly.   As far as I can tell the current tif_jpeg.c does not
> repack the 16bit values returned by libjpeg6b (in 12bitmode) to
> 12bit.   Folks have apparently used this form, but I don't really know
> how they make it work.

Maybe these `folks' would care to identify themselves if they do 
actually exist?  It may be that they made it work by hacking their 
private copy of the code.

The only way that makes sense is for 12 bit samples to be returned the 
same as for an uncompressed 12 bit TIFF file.  Likewise, 12 bit 
samples should be consumed so that the only thing special the library 
user needs to do is request JPEG compression, and possibly JPEG RGB 
mode.

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