Color profile conversion broken in 6.2.5

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
olafvdg

Color profile conversion broken in 6.2.5

Post by olafvdg »

Command:

Code: Select all

convert test.jpg -strip -profile rgb.icc -profile cmyk.icc cmyk_test.jpg
It runs perfect on a webserver with the old IM version 6.2.4, but it fails to do a proper conversion on 6.2.5
The new profile gets attached, but there is no actual conversion.

Images and profiles are attached
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Color profile conversion broken in 6.2.5

Post by magick »

Type
  • identify -list configure
Is lcms associated with the DELAGATES tag? The LCMS delegate library is required. We did try your command with the latest ImageMagick release, 6.5.2-8, and the conversion worked as expected (the JPEG was CMYK).
olafvdg

Re: Color profile conversion broken in 6.2.5

Post by olafvdg »

Not sure how to read it... but this is the output of identify -list configure

Code: Select all

Path: /usr/lib/ImageMagick-6.2.5/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -pthread
CONFIGURE ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --with-modules --with-perl --with-x --with-threads --with-magick_plus_plus --with-gslib --with-wmf --with-perl-options=INSTALLDIRS=vendor CC='gcc -L/builddir/build/BUILD/ImageMagick-6.2.5/magick/.libs' LDDLFLAGS='-shared -L/builddir/build/BUILD/ImageMagick-6.2.5/magick/.libs' --with-windows-font-dir=/usr/share/fonts/default/TrueType --without-dps
COPYRIGHT Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS -I/usr/include
CXX g++
CXXFLAGS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -pthread
DEFS -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --with-modules --with-perl --with-x --with-threads --with-magick_plus_plus --with-gslib --with-wmf --with-perl-options=INSTALLDIRS=vendor CC='gcc -L/builddir/build/BUILD/ImageMagick-6.2.5/magick/.libs' LDDLFLAGS='-shared -L/builddir/build/BUILD/ImageMagick-6.2.5/magick/.libs' --with-windows-font-dir=/usr/share/fonts/default/TrueType --without-dps 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'
EXEC-PREFIX /usr
HOST i686-redhat-linux-gnu
LDFLAGS -L/usr/lib -lfreetype -lz -L/usr/lib
LIB_VERSION 0x625
LIB_VERSION_NUMBER 6,2,5,4
LIBS -lMagick -ltiff -lfreetype -ljpeg -lgs -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr
QuantumDepth 16
RELEASE_DATE 04/05/07
VERSION 6.2.5
WEBSITE http://www.imagemagick.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Color profile conversion broken in 6.2.5

Post by magick »

You do not have support for the LCMS delegate library. More recent versions of ImageMagick report if this library is not available when you attempted color transforms. Download both the LCMS library and headers (e.g. lcms.h) and reconfigure / rebuild ImageMagick. Check the output of the configure script to ensure the LCMS delegate library is validated before you install.
olafvdg

Re: Color profile conversion broken in 6.2.5

Post by olafvdg »

Hmmm, not an option for me, It's in a commercial hosting environment. I'm just a client.... ;-(
I guess I'm out of luck for color conversions via IM, right?

Unless I move to another hostingprovider of course...
Post Reply