[Magick-bugs] Problem with colorspace conversion under Windows
Cesare Leonardi
ced at bernispa.com
Mon Mar 26 06:51:03 PDT 2007
Hi all.
I have found a problem converting the colorspace from CMYK to RGB using
"ImageMagick-6.3.3-1-Q16-windows-dll.exe" and today i've verified that
it is still present in "ImageMagick-6.3.3-4-Q16-windows-dll.exe".
I've sent this mail before with attachments to clarify the problem but
it was blocked, so i'll try to explain without them. As i said, in this
mail i talk about 6.3.3-1 but i've verified the problem is still present
in 6.3.3-4.
I have this simple bash script that i use both under Debian Sid and
under cygwin in my Windows 2000 Pro SP4 machine:
----------------------------------------------------------
#!/bin/bash
if [ -d "$PROGRAMFILES" ]; then
BINPATH="$PROGRAMFILES/ImageMagick/convert.exe"
else
BINPATH="convert"
fi
"$BINPATH" "$1" -colorspace RGB -resize 74 "$1-small.jpg"
"$BINPATH" "$1" -colorspace RGB -resize 650 "$1-big.jpg"
----------------------------------------------------------
I've tested successfully this script under my Debian box (that uses
ImageMagick 6.2.4 02/10/07 Q16) and it works fine.
But under Windows (that as i said, uses the latest 6.3.3-1) everything
looks ok, except that black become white. All the aother colors seems ok.
You can test this by creating a CMYK image with all the fundamental
color clearly labeled and running the previous command on it.
Then i've tryed to uninstall 6.3.3-1 and i've noted that the same script
works fine using some old binaries i have:
OK: ImageMagick-6.2.8-7-Q16-windows-dll.exe
OK: ImageMagick-6.3.2-2-Q16-windows-dll.exe
So something is happended between 6.3.2-2 and 6.3.3-1.
Regards.
Cesare.
More information about the Magick-bugs
mailing list