[prev in list] [next in list] [prev in thread] [next in thread]
List: imagemagick-user
Subject: [magick-users] problem: convert .bmp -> .png -> .bmp
From: Silva Paulo <psdasilva () yahoo ! com>
Date: 2009-05-23 14:46:23
Message-ID: 447994.61850.qm () web34802 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
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
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic