Hi!

x.bmp is a file produced by gimp.
I have executed the following commands:

$ file x.bmp
x.bmp: PC bitmap data, Windows 3.x format, 2783 x 1841 x 32
$ convert x.bmp x.png
$ file x.png
x.png: PNG image data, 2783 x 1841, 16-bit/color RGB, non-interlaced
$ convert x.png y.bmp
$ file y.bmp
y.bmp: PC bitmap data, Windows 3.x format, 2783 x 1841 x 24
$ ls -l
total 40944
-rw------- 1 p users    27120 Fev 26  2008 mcity.cty
-rw-r----- 1 p users 20494066 Out 29  2008 x.bmp
-rw-r--r-- 1 p users  5980170 Mai 23 15:38 x.png
-rw-r--r-- 1 p users 15376086 Mai 23 15:39 y.bmp

Why are x.bmp and y.bmp different?
This problem only occurs for 32 bit (depth?) files.
For 24 bits the resulting files match exactly.
I tried -depth 32 for both convert commands but no success. I always obtained a 
24 bits .bmp file!

Thanks for any help



      
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to