[Magick-bugs] strange profile and strip behaviour using locally built IM (6.3.2.2)

Korny Sietsma korny at sietsma.com
Mon Feb 5 05:58:40 CST 2007


Hi folks,

I am having problems with Imagemagick 6.3.2.2 built on my laptop - it
seems that "-profile" does unusual things with colour profiles.  And
it also seems that "-strip" doesn't strip profiles at all!

To clarify - I have some raw camera files, converted to tiff using
dcraw.  On my home server, running Imagemagick 6.2.4, I have been
processing images for a while - typically I use "convert <original
file> -profile <icc profile for my camera> -profile <display profile>
<destination file>"

However, I wanted to use some more recent Imagemagick features, so I
built 6.3.2.2 on my laptop - now the exact same command *seems* to
work, but the resulting image is pale and washed out.

Sample files are in http://www.sietsma.com/imtest/ - to produce the
jpg images I ran:
    convert small.tiff -profile rprof.icc -profile jprof.icc small_im624.jpg
on Imagemagick 6.2.4, and:
    convert small.tiff -profile rprof.icc -profile jprof.icc small_im632.jpg
on Imagemagick 6.3.2.

Also, after some fiddling I noticed that the "-strip" command doesn't
seem to work at all on my tiff files - on IM 6.2.4 I can run "convert
small.tiff -strip small_stripped.tiff" and then "identify -verbose
small_stripped.tiff" shows me no icc profile.

On my laptop, the same command sequence gives me (in part):
Image: small_stripped.tiff
  Format: TIFF (Tagged Image File Format)
...
  Profile-icm: 3144 bytes
0x00000000: 000c484c 696e6f02 1000006d 6e747252 47422058  ---HLino----mntrRGB

It is possible I had a build problem, but I can't see anything in my
config.log (uploaded to the same directory as config.log.gz) - I did
see a pile of warnings on installation of the form:
 /bin/sh ./libtool --silent --mode=install /usr/bin/install -c
'coders/label.la'
'/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/label.la'
libtool: install: warning: relinking `coders/label.la'
libtool: link: warning:
`/usr/lib/gcc/i486-linux-gnu/4.0.3/../../..//liblcms.la' seems to be
moved
libtool: link: warning:
`/usr/lib/gcc/i486-linux-gnu/4.0.3/../../..//libtiff.la' seems to be
moved
libtool: link: warning:
`/usr/lib/gcc/i486-linux-gnu/4.0.3/../../..//libjpeg.la' seems to be
moved
libtool: link: warning:
`/usr/lib/gcc/i486-linux-gnu/4.0.3/../../..//libfreetype.la' seems to
be moved

But I couldn't find anything to indicate what these meant, and
everything seemed to be working.  Until now :-}

Any ideas?  I'm not much of a linux build expert, but I really didn't
do much more than:
$ ./configure --prefix=/usr
--with-windows-font-dir=/usr/share/fonts/truetype/msttcorefonts
--with-gs-font-dir=/usr/share/fonts/type1/gsfonts
$make
$sudo make install

- Korny

-- 
Kornelis Sietsma  korny at my surname dot com
kornys at gmail dot com on google chat -- kornys on skype (on request)


More information about the Magick-bugs mailing list