convert TIFF to a .jpg

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
craigmc

convert TIFF to a .jpg

Post by craigmc »

Hi,

I'm getting error below when trying to convert tiff files although they display perfectly in MSOffice Picture Manager I fear they may be corrupted or not valid in some way. Version info is:- ImageMagick 6.5.4-10 2009-08-08 Q16. Is there a way to get round this error?

C:\Op Pictures>convert 177-1.tif 177-1.jpg
convert: 177-1.tif: unknown field with tag 512 (0x200) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 513 (0x201) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 514 (0x202) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 515 (0x203) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 519 (0x207) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 520 (0x208) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 521 (0x209) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 32932 (0x80a4) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: 177-1.tif: unknown field with tag 32934 (0x80a6) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: compression not supported `177-1.tif' @ tiff.c/ReadTIFFImage/832.
convert: missing an image filename `177-1.jpg' @ convert.c/ConvertImageCommand/2800.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert TIFF to a .jpg

Post by fmw42 »

the first, I believe are just warnings and do not affect anything. just fields not supported in the head. The last two seem to indicate that you do not have the jpg or tif delegate libraries installed or you have directory and/or permission problems.

type the following

convert -list configure

see what is listed under DELEGATES as per my system

DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms lqr openexr png tiff x11 xml zlib


anything not listed that you want, must be installed via the delegate library and then IM reinstalled
Post Reply