image magick error on convert 200mb tif file

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
viperan
Posts: 4
Joined: 2011-11-18T12:27:40-07:00
Authentication code: 8675308

image magick error on convert 200mb tif file

Post by viperan »

Hi There,

I am trying to convert 200mb Tif file using this command:

convert -verbose -profile USWebCoatedSWOP.icc -profile sRGB.icm test1.tif test2.jpg

I got these error:

C:\Users\w003d1a\Documents>convert -verbose -profile USWebCoatedSWOP.icc -profil
e sRGB.icm test1.tif test2.jpg
test1.tif TIFF 11400x17100 11400x17100+0+0 8-bit TrueColor DirectClass 199.3MB 4
.368u 0:04.382
USWebCoatedSWOP.icc ICC 1x1 1x1+0+0 16-bit DirectClass 557KB 0.031u 0:00.027
sRGB.icm ICM 1x1 1x1+0+0 16-bit DirectClass 3.14KB 0.000u 0:00.001
test1.tif=>test2.jpg TIFF 11400x17100 11400x17100+0+0 8-bit TrueColor DirectClas
s 25.05MB 35.100u 0:35.347
convert.exe: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormal
Tag' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomD
irectory' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomD
irectory' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomD
irectory' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormal
Tag' @ warning/tiff.c/TIFFWarnings/761.

C:\Users\w003d1a\Documents>

can anybody help me on explaining why this happened?

thanks in advanced

dan-
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: image magick error on convert 200mb tif file

Post by fmw42 »

convert -verbose -profile USWebCoatedSWOP.icc -profile sRGB.icm test1.tif test2.jpg
The input image should be specified before the profiles

convert -verbose test1.tif -profile USWebCoatedSWOP.icc -profile sRGB.icm test2.jpg

The tag warnings usually can be ignored.
viperan
Posts: 4
Joined: 2011-11-18T12:27:40-07:00
Authentication code: 8675308

Re: image magick error on convert 200mb tif file

Post by viperan »

Code: Select all

C:\Users\w003d1a\Documents>convert test1.tif -verbose -profile USWebCoatedSWOP.i
cc -profile sRGB.icm test2.jpg
USWebCoatedSWOP.icc ICC 1x1 1x1+0+0 16-bit DirectClass 557KB 0.031u 0:00.031
sRGB.icm ICM 1x1 1x1+0+0 16-bit DirectClass 3.14KB 0.000u 0:00.000
test1.tif=>test2.jpg TIFF 11400x17100 11400x17100+0+0 8-bit TrueColor DirectClas
s 25.05MB 42.370u 0:42.581
convert.exe: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormal
Tag' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomD
irectory' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomD
irectory' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomD
irectory' @ warning/tiff.c/TIFFWarnings/761.
convert.exe: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormal
Tag' @ warning/tiff.c/TIFFWarnings/761.

C:\Users\w003d1a\Documents>
I still get the same problem
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: image magick error on convert 200mb tif file

Post by fmw42 »

can you post a link to your tiff file?

I am no expert on this but perhaps you need a special delegate library or update to libtiff to handle RichTiffIPTC format
viperan
Posts: 4
Joined: 2011-11-18T12:27:40-07:00
Authentication code: 8675308

Re: image magick error on convert 200mb tif file

Post by viperan »

but the images is appearing this time, hmmm looks like your comment is spot on.

thanks

dan-
viperan
Posts: 4
Joined: 2011-11-18T12:27:40-07:00
Authentication code: 8675308

Re: image magick error on convert 200mb tif file

Post by viperan »

Fred, I have tiff images that is 200mb if you have ftp that I can give it to you. or I can send you a link for you to download.

thanks

dan-
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: image magick error on convert 200mb tif file

Post by fmw42 »

viperan wrote:Fred, I have tiff images that is 200mb if you have ftp that I can give it to you. or I can send you a link for you to download.

thanks

dan-

Dan,

If the image is appearing after changing the command line and is what you expect, then there is no need to send me the file or link. The other warnings are just that. IM does not support some Tiff tags and gives warnings about them, but then ignores them and just processes the image.

If you are not getting the right result, please clarify why and post a link to that image or email the link to me at fmw at alink dot net

Fred
ozbigben
Posts: 27
Joined: 2012-03-25T02:15:27-07:00
Authentication code: 8675308

Re: image magick error on convert 200mb tif file

Post by ozbigben »

Found this thread while debugging my own scripts... The tags in question relate to various lens tags from digital cameras. Had a quick look at the metadata in an original and processed file and to be fair, a substantial set of tags were preserved. If some of the other tags are important to you, you could always copy them from the source file with something like EXIFTool, although this adds another file write to the process.

Cheers

Ben
Post Reply