[magick-users] ImageMagick 6.4.1.8 TIFF: unknown field
Robert Campbell
thebobcampbell at gmail.com
Tue Aug 19 21:24:56 PDT 2008
> Hi all,
>
> I am not sure if this is a problem on my end, or a bug.
>
> My system is FreeBSD 6.3 with ImageMagick installed from the ports
> collection. Until the most recent update, ImageMagick was operating as
> expected.
>
> After the update to ImageMagick-6.4.1.8 converting a TIF to a JPG
> returns an error:
>
> $ convert -resize 400x400 /home/y/test.tif -quality 80 /home/y/tn/
> test.jpg
>
> convert: /home/y/test.tif: unknown field with tag 40961 (0xa001)
> encountered. `TIFFReadCustomDirectory'.
>
> The file would convert without problems in the past, and I can still
> open it with Photoshop.
>
> Any idea what am I doing wrong?
Yuv,
I too am having this problem (annoyance), and it also cropped up for
me only recently, but more like several months ago.
Coincidentally, I'm also a Hugin user. (recognized your name from
the Hugin-PTX list)
I did find this:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=7&t=6491
Which explains things, basically, but not very satisfactorily.
Specifically, it seems that it's a function of the TIFF library used
by ImageMagick, and the convert command is just passing the warning
through. Of course, there's no way to turn that off through convert
(would we want to?). So did the TIFF library change, did ImageMagick
change the way it handles warnings from libraries, and/or did Hugin
(and its TIFF library) change/add the 'TIFFReadCustomDirectory' tag
to the tif files it creates?
I'm using the command:
convert image-stitch.tif -background white -flatten -trim -quality 90
image-stitch.jpg
with ImageMagick 6.4.2 and libtif from MacPorts on OSX 10.4.11 (PPC).
Thanks,
Bob Campbell
More information about the Magick-users
mailing list