Page 1 of 1

Convert tiff with jpg compression to jpg

Posted: 2013-10-28T08:27:33-07:00
by patricklarsson
Hi! Im trying to convert a tif file that has been compressed to jpeg quality and saved with Photoshop.

My tif file can be found here: http://ut.patricklarsson.nu/example.tif

Convert -version

Code: Select all

Version: ImageMagick 6.8.7-0 2013-09-19 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib jng jpeg lcms png png tiff xml zlib
I downloaded and installed ImageMagick following these instruction for OS X found here: http://www.imagemagick.org/script/binary-releases.php not the macport install.

This is the command im running:
convert /Users/patrick/Desktop/example.tif ~/Desktop/test.jpeg

And this is the error it returns:

Code: Select all

convert /Library/WebServer/Documents/ut/example.tif ~/Desktop/test.jpg
convert: Unknown field with tag 347 (0x15b) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/838.
convert: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/838.
convert: JPEG compression support is not configured. `/Library/WebServer/Documents/ut/example.tif' @ error/tiff.c/TIFFErrors/563.
convert: Unknown field with tag 347 (0x15b) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/838.
convert: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/838.
convert: JPEG compression support is not configured. `/Library/WebServer/Documents/ut/example.tif' @ error/tiff.c/TIFFErrors/563.
convert: compression not supported `/Library/WebServer/Documents/ut/example.tif' @ error/tiff.c/ReadTIFFImage/1130.
convert: no images defined `/Users/patrick/Desktop/test.jpg' @ error/convert.c/ConvertImageCommand/3127.
If I save the tif file without any compression the convert works perfect, thanks in advance!

Re: Convert tiff with jpg compression to jpg

Posted: 2013-10-28T11:02:03-07:00
by fmw42
It works fine for me on IM 6.8.7.3 Q16 Mac OSX


convert example.tif tmp.jpg
convert: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/842.

All I get is a warning for an unknown tag which is ignored.

What version of libjpeg and libtiff are you using? Perhaps you need a more current version or some other associated delegate.


I installed all my delegates using MacPorts but installed IM from source.


convert -version
Version: ImageMagick 6.8.7-3 2013-10-25 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC
Delegates: bzlib fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps png tiff x xml zlib