AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.08.29 16:57 "[Tiff] libTIFF and ImageMagick - Windows binaries; Turning on support for JPEG compressed TIFFs; Alternatives (TIFFCP, TIFF2BW, etc.) for JPEG TIFFs", by
2005.08.29 18:00 "Re: [Tiff] 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 16:57 "[Tiff] libTIFF and ImageMagick - Windows binaries; Turning on support for JPEG compressed TIFFs; Alternatives (TIFFCP, TIFF2BW, etc.) for JPEG TIFFs", by

We use ImageMagick (which contains a copy of libTIFF) to process images of various formats and compressions into either Group4 (B&W)TIFF or JPEGs depending on content. I got a "Sorry, Compression Method is Not Configured" error message in ImageMagick for JPEG compressed TIFFs, so I took a look at the source code distribution (for 6.2.4) for the Windows build.

I noticed that in the "tifconf.h" header file that the JPEG support was defined in the compression section but was in the feature section. I added the #DEFINE statement for JPEG support (and even turned on a setting in ImageMagick's "\tiff\configure" file) and recompiled ImageMagick but it still doesn't work - same error message.

Is there some "trick" to getting this to correcly compile? I suspect it might need OJPEG support, but when I turn that on (#DEFINE) in "tifconf.h" I get a compile error. One of my fallback plans would be to identify the file using ImageMagick and if it's a TIFF then use tiffcp or tiff2bw to do the work, but on trying them I get a "Old Style JPEG compression support not enabled message" in the latest binaries (3.73)

FYI - The old Wang/Kodak "Imaging for Windows" control can read this file without issue,

Any help would be appreciated.

Dave

Confidentiality / Privilege Notice: This transmission, including attachments, is intended solely for the use of the designated recipients(s). This transmission may contain information that is confidential and/or privileged or otherwise protected from disclosure. The use or disclosure of the information contained in this transmission for any purpose other than that intended by its transmittal is strictly prohibited. If you are not an intended recipient of this transmission, please immediately destroy all copies received and notify the sender.