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
August 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.08.29 16:57 "libTIFF and ImageMagick - Windows binaries; Turning on support for JPEG compressed TIFFs; Alternatives (TIFFCP, TIFF2BW, etc.) for JPEG TIFFs", by <dave_roberts@farmfamily.com>
2005.08.29 18:00 "Re: libTIFF and ImageMagick - Windows binaries; Turning on support for JPEG compressed TIFFs; Alternatives (TIFFCP, TIFF2BW, etc.) for JPEG TIFFs", by Morten Bagai

2005.08.29 18:00 "Re: libTIFF and ImageMagick - Windows binaries; Turning on support for JPEG compressed TIFFs; Alternatives (TIFFCP, TIFF2BW, etc.) for JPEG TIFFs", by Morten Bagai

Dave,

I'm by no means an expert on this, but since I have been struggling  
with getting OJPEG support enabled for myself*, this might help you a  
little bit. It seems to me that the instructions in contrib/ojpeg may  
be a little out of sync with how the configuration process works for  
the current libtiff. In the current configure script there are  
actually  options for the following that will generate the correct  
tifconf.h

--enable-jpeg (on by default)
--enable-old-jpeg (enable support for Old JPEG compresson (read  
contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG  
library)
--with-jpeg-include-dir=DIR  location of IJG JPEG library headers
--with-jpeg-lib-dir=DIR location of IJG JPEG library binary

On MacOS X 10.4 I've managed to get to the point where all this  
compiles, but unfortunately I am still not able to process the the  
wang-jpegs in our library. I used to get a message to the effect of  
"Old-style JPEG compression not built/configured" from libtiff, but  
after the latest round of compiling, I get this:

color1.tif: Warning, incorrect count for field "StripOffsets" (1,  
expecting 3); tag ignored.
color1.tif: Warning, incorrect count for field "StripByteCounts" (1,  
expecting 3); tag ignored.
tiff2pdf: Missing JPEGProc field in OJPEG image color1.tif.
tiff2pdf: No support for color1.tif with OJPEG compression and  
separated planar configuration.

I was going to post a separate topic on this list to see if anyone  
could help me explain this, but maybe someone will jump on it in this  
thread instead.


Regards,

Morten