AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.04.07 07:34 "[Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by yourpattern
2006.04.07 09:01 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by Joris
2006.04.07 10:05 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTable s.", by yourpattern
2006.04.10 14:21 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by Gerben Vos
2006.04.11 06:45 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTabl es.", by yourpattern
2006.04.11 08:33 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by Joris
2006.04.11 09:54 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by Gerben Vos
2006.04.11 10:12 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by Joris

2006.04.11 10:12 "Re: [Tiff] LibTiff Suggestion, Need help to support application supplied JPEGTables.", by Joris

Gerben,

Meanwhile, why are you refering to a pseudo tag? Would it not suit these needs, if the actual JpegTables tag can be set, and when next LibJpeg is used to compress, in this case, the application supplied tables that are set in this tag are used?

Yes, that could also be an idea. But I suppose you will either have to a) parse the tables out from the tag yourself, or b) create a temporary libjpeg decompression object to do that parsing, and then copy the tables into the libjpeg compression object. Neither seems very elegant to me.

But I'm not going to implement this, and I'm not very much into the libtiff internals when it comes to JPEG compression, so your ideas are probably worth more than mine.

I think there may be a better solution, but I'm not sure... I'm not even completely sure what current state of tif_jpeg is in this regard.

I'll look into it shortly, and report back to the list.

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