Discussion:
'convert: JPEG compression support is not configured' and 'conver t:Unknown tag 317. (TIFFSetField).'
Zhang, Frank
2003-11-14 16:22:32 UTC
Permalink
Basically, here is what I have done on my box(Solaris 2.6) with gcc2.95.3:
1. Compiled libtiff-3.6.0 with lzw patch and loaded it in /usr/local/lib
2. JPEG and JPEG2000 lib are already under /usr/local/lib
3. Configured ImageMagick5.5.7: ./configure LDFLAGS=-L/usr/local/lib
--enable-lzw --with-tiff --without-perl --without-magick-plus-plus
4. Compiled it and installed it.
I haven't noticed any error messages.
But when I ran 'convert xxx.jpeg xxx.tiff', I got 'convert: JPEG compression
support is not configured';
and when I ran 'convert -compress LZW xxx.jpeg xxx.tiff', I got
'convert:Unknown tag 317. (TIFFSetField).'

Ironically, I can run 'convert -compress none xxx.jpeg xxx.tiff', then
'tiffcp -c LZW xxx.tiff yyy.tiff' to get it done without a problem,
which means libtiff is all set.

I am really frustrated, can anybody help me please?

Thanks.

Frank
Glenn Randers-Pehrson
2003-11-14 16:30:33 UTC
Permalink
Post by Zhang, Frank
1. Compiled libtiff-3.6.0 with lzw patch and loaded it in /usr/local/lib
2. JPEG and JPEG2000 lib are already under /usr/local/lib
3. Configured ImageMagick5.5.7: ./configure LDFLAGS=-L/usr/local/lib
--enable-lzw --with-tiff --without-perl --without-magick-plus-plus
4. Compiled it and installed it.
I haven't noticed any error messages.
But when I ran 'convert xxx.jpeg xxx.tiff', I got 'convert: JPEG compression
support is not configured';
and when I ran 'convert -compress LZW xxx.jpeg xxx.tiff', I got
'convert:Unknown tag 317. (TIFFSetField).'
Ironically, I can run 'convert -compress none xxx.jpeg xxx.tiff', then
'tiffcp -c LZW xxx.tiff yyy.tiff' to get it done without a problem,
which means libtiff is all set.
I am really frustrated, can anybody help me please?
You missed a configuration setting for JPEG compression while building
libtiff.

Try

convert xxx.jpeg -compress none xxx.tiff

Glenn

Loading...