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.
Hi! When I try to convert a PNG file (say file1.png) to a RGB file (say file2.rgb) and reconvert the RGB file (file2.rgb) to a PNG file (say file3.png), the two PNG file (file1.png and file3.png) are different. Here is the command line I'm using.
In the file3.png, the colors are wrong, the image is split in two and is too small. I put the files on my web site. So, if you want to see for yourself.
Your original image depth is 8 so ImageMagick writes an 8-bit raw file. However, since its a raw file, when reading, ImageMagick does not know what depth the raw file is (no header to tell it) so it defaults to 16-bits. An easy fix is to specify the depth from the command line with -depth.