[Magick-bugs] convert -combine not working as expected
Dean S. Messing
deanm at sharplabs.com
Wed Oct 25 19:15:08 CDT 2006
I have the red, green, and blue fields of an image stored
in three separate Truecolor .png files:
v_R.png, v_G.png, and v_B.png
Each of these images is greyscale when displayed.
I am trying to combine them into a single rgb .png image.
So I do:
convert -combine v_R.png, v_G.png, and v_B.png v.png
I understand from the docs that this shd. take the R value
of the 1stt image, the G of the 2nd, and the B of the 3rd
will be placed into the respective colour planes of v.png.
But what I see, upon displaying, looks like the negative of the
desired image.
In fact
convert -combine v_R.png, v_G.png, and v_B.png -negate v.png
creates the correct image, v.png. This looks like a bug to me.
convert -version
Version: ImageMagick 6.2.5 09/21/06 Q16 file:/usr/share/ImageMagick-6.2.5/doc/index.html
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
A second, less important "bug" is this:
If I display a 16 bit image using "-depth 8", or an original 8 bit
image, and within `display' I use the magnifier, I see 8-bit values
for the subpixel colours as I wd. expect.
But if I (say) negate the image w/in `display', the values all become
16-bit, and are very difficult to read in the magnifier.
Is this a bug?
Shd. not an 8-bit image remain 8-bits, at least for the purposes of
the display?
Dean
More information about the Magick-bugs
mailing list