After i upgraded to Imagemagick 6.5.5-2, certain Image gets corrupted in my production enviroment. The command I call is:
Code: Select all
convert 5653.tif +clip-path "#1" -fill white -draw "color 0,0 reset" out.tif
I have tried to reproduce the error in our test environment, but everything works fine here. Could anyone give me any pointers to where i might look for the error? The Imagemagick is compiled almost identical in the two systems:
Test:
Code: Select all
Path: /usr/local/Imagemagick-6.5.5-2/lib/ImageMagick-6.5.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure '--with-lcms=yes' '--with-xml=yes' '--with-freetype=yes' '--with-fontconfig=yes' '--prefix=/usr/local/Imagemagick-6.5.5-2'
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/Imagemagick-6.5.5-2/include/ImageMagick
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES fontconfig freetype jpeg jng jp2 lcms png tiff xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-rsvg=no
EXEC-PREFIX /usr/local/Imagemagick-6.5.5-2
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/Imagemagick-6.5.5-2/lib -lfreetype -lz
LIB_VERSION 0x655
LIB_VERSION_NUMBER 6,5,5,2
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local/Imagemagick-6.5.5-2
QuantumDepth 16
RELEASE_DATE 2009-08-28
VERSION 6.5.5
WEBSITE http://www.imagemagick.org
Code: Select all
Path: /usr/local/ImageMagick/lib/ImageMagick-6.5.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure '--prefix' '/usr/local/ImageMagick' '--with-xml=yes' '--with-fontconfig=yes'
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/ImageMagick/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fontconfig freetype jpeg jng jp2 lcms png tiff xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-rsvg=no
EXEC-PREFIX /usr/local/ImageMagick
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/local/ImageMagick/lib -lfreetype -lz
LIB_VERSION 0x655
LIB_VERSION_NUMBER 6,5,5,2
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lbz2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local/ImageMagick
QuantumDepth 16
RELEASE_DATE 2009-08-27
VERSION 6.5.5
WEBSITE http://www.imagemagick.org
Images used
Original Image (2Mb): https://sites.google.com/site/fileexamp ... edirects=0 preview
Output from prod https://sites.google.com/site/fileexamp ... edirects=0 preview
Output from test: https://sites.google.com/site/fileexamp ... edirects=0 preview
Debug traces (debug=all): https://sites.google.com/site/fileexamp ... edirects=0