I'm trying to do some image resizing with convert, but I find the problem
exists even when attempting to use identify. Here's the output of an identify
-debug all:
./identify -debug all /venus/images/cache/img13193FileSourceHex.tif
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
utility.c/unknown/805/Configure
Command line:
./identify{-debug}{all}{/venus/images/cache/img13193FileSourceHex.tif}
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file:
"/mars/imagemagick//lib/ImageMagick-6.3.0/config/coder.xml"
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file:
"/mars/imagemagick//share/ImageMagick-6.3.0/config/coder.xml"
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "/lib/ImageMagick-6.3.0/config/coder.xml"
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "/share/ImageMagick-6.3.0/config/coder.xml"
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "/export/home/cmiller2/.magick/coder.xml"
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "coder.xml"
2007-10-19T09:05:49-04:00 0:01 0.000u 6.3.0 Configure identify[9883]:
coder.c/unknown/613/Configure
Loading coder map
"/mars/imagemagick//share/ImageMagick-6.3.0/config/coder.xml" ...
2007-10-19T09:05:49-04:00 0:01 0.010u 6.3.0 Module identify[9883]:
module.c/unknown/1065/Module
Searching for module "TIFF" using filename "tiff.la"
2007-10-19T09:05:49-04:00 0:01 0.010u 6.3.0 Module identify[9883]:
module.c/unknown/582/Module
Searching for coder module file "tiff.la" ...
2007-10-19T09:05:49-04:00 0:01 0.020u 6.3.0 Module identify[9883]:
module.c/unknown/1085/Module
Opening module at path
"/mars/imagemagick//lib/ImageMagick-6.3.0/modules-Q16/coders/tiff.la"
2007-10-19T09:05:49-04:00 0:01 0.020u 6.3.0 Module identify[9883]:
module.c/unknown/1120/Module
Method "RegisterTIFFImage" in module "TIFF" at address fea55ae0
2007-10-19T09:05:49-04:00 0:01 0.020u 6.3.0 Module identify[9883]:
module.c/unknown/1135/Module
Method "UnregisterTIFFImage" in module "TIFF" at address fea55d4c
2007-10-19T09:05:49-04:00 0:01 0.020u 6.3.0 Blob identify[9883]:
blob.c/unknown/2020/Blob
read 4096 magic header bytes
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Cache identify[9883]:
cache.c/unknown/1845/Cache
destroy
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file:
"/mars/imagemagick//lib/ImageMagick-6.3.0/config/magic.xml"
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file:
"/mars/imagemagick//share/ImageMagick-6.3.0/config/magic.xml"
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "/lib/ImageMagick-6.3.0/config/magic.xml"
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "/share/ImageMagick-6.3.0/config/magic.xml"
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "/export/home/cmiller2/.magick/magic.xml"
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
configure.c/unknown/482/Configure
Searching for configure file: "magic.xml"
2007-10-19T09:05:49-04:00 0:01 0.030u 6.3.0 Configure identify[9883]:
magic.c/unknown/672/Configure
Loading magic map
"/mars/imagemagick//share/ImageMagick-6.3.0/config/magic.xml" ...
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Blob identify[9883]:
blob.c/unknown/2020/Blob
read 4096 magic header bytes
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Cache identify[9883]:
cache.c/unknown/1845/Cache
destroy
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Blob identify[9883]:
blob.c/unknown/2020/Blob
read 4096 magic header bytes
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Locale identify[9883]:
locale.c/unknown/498/Locale
Searching for locale file:
"/mars/imagemagick//lib/ImageMagick-6.3.0/config/locale.xml"
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Locale identify[9883]:
locale.c/unknown/498/Locale
Searching for locale file:
"/mars/imagemagick//share/ImageMagick-6.3.0/config/locale.xml"
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Locale identify[9883]:
locale.c/unknown/498/Locale
Searching for locale file: "/lib/ImageMagick-6.3.0/config/locale.xml"
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Locale identify[9883]:
locale.c/unknown/498/Locale
Searching for locale file: "/share/ImageMagick-6.3.0/config/locale.xml"
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Locale identify[9883]:
locale.c/unknown/498/Locale
Searching for locale file: "/export/home/cmiller2/.magick/locale.xml"
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Locale identify[9883]:
locale.c/unknown/498/Locale
Searching for locale file: "locale.xml"
2007-10-19T09:05:49-04:00 0:01 0.050u 6.3.0 Configure identify[9883]:
locale.c/unknown/830/Configure
Loading locale map
"/mars/imagemagick//lib/ImageMagick-6.3.0/config/locale.xml" ...
2007-10-19T09:05:49-04:00 0:01 0.060u 6.3.0 Configure identify[9883]:
locale.c/unknown/830/Configure
Loading locale map
"/mars/imagemagick//lib/ImageMagick-6.3.0/config/english.xml" ...
2007-10-19T09:05:49-04:00 0:01 0.190u 6.3.0 Exception identify[9883]:
tiff.c/unknown/282/Exception
/venus/images/cache/img13193FileSourceHex.tif: unknown field with tag 37724
(0x935c) encountered. `TIFFReadDirectory'
2007-10-19T09:05:49-04:00 0:01 0.210u 6.3.0 Coder identify[9883]:
tiff.c/unknown/442/Coder
Geometry: 1024x768
2007-10-19T09:05:49-04:00 0:01 0.210u 6.3.0 Coder identify[9883]:
tiff.c/unknown/444/Coder
Interlace: 1
2007-10-19T09:05:49-04:00 0:01 0.210u 6.3.0 Coder identify[9883]:
tiff.c/unknown/446/Coder
Bits per sample: 8
2007-10-19T09:05:49-04:00 0:01 0.210u 6.3.0 Coder identify[9883]:
tiff.c/unknown/448/Coder
Min sample value: 0
2007-10-19T09:05:49-04:00 0:01 0.210u 6.3.0 Coder identify[9883]:
tiff.c/unknown/450/Coder
Max sample value: 255
2007-10-19T09:05:49-04:00 0:01 0.210u 6.3.0 Coder identify[9883]:
tiff.c/unknown/474/Coder
Photometric: RGB
Segmentation Fault
I read that this might be a problem in libtiff so I made sure the administrator
installed the latest version, which he did (3.8.2). This is on a Solaris 10
box using the precompiled ImageMagick 6.3.0. I have also tried the precompiled
(We don't have a compiler installed on this machine) 6.3.6 version with the
same results. Here's a link to the image I've been testing with:
http://image.iarchives.nysed.gov/images/cache/img13193FileSourceHex.tif
The file was created in PhotoShop CS2. ImageMagick 6.3.0 on Windows can perform
the conversion I want on the same file, though it does throw a warning:
C:\>convert FileSourceHex.tif -resize 500x500 -quality 75 ( +clone -background
black -shadow 80x3+5+5 ) +swap -background #f9f9da -mosaic -flatten fileHex.jpg
convert: FileSourceHex.tif: unknown field with tag 37724 (0x935c) encountered.
`TIFFReadDirectory'.
Any help on finding a way to make ImageMagick not segfault on these files would
be greatly appreciated.
~Colin Miller
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs