Page 1 of 1

bmp with alpha channel in png with transparent background

Posted: 2010-05-19T00:15:29-07:00
by Nezar
Please excuse me for my English - full text translation online translator.

The problem is the following.
I have a lot of icons in bmp format with alpha channel.
I want them all together and converted into PNG.

I do so
convert 1.bmp 2.bmp-append 3.png
but I did not go - the alpha channel is lost
how can I solve this problem?

even a simple conversion
convert 1.bmp 2.bmp
destroys the alpha channel.

Thanks in advance

Re: bmp with alpha channel in png with transparent backgroun

Posted: 2010-05-19T09:30:45-07:00
by Drarakel
At the moment, ImageMagick supports BMP with alpha layer if the BMPs are stored with a Windows V4 or V5 header - but not if it's a BMP with V3 header. So, probably you have BMP V3 files. In that case, you will have to use another software (e.g. Gimp) to convert your files to PNG first.

Re: bmp with alpha channel in png with transparent backgroun

Posted: 2010-05-19T23:44:29-07:00
by Nezar
Pity.
Thank you for your reply.
We look forward to full support BMP

PS I created a bmp in photoshop c4 - what a such bmp version?

Re: bmp with alpha channel in png with transparent backgroun

Posted: 2010-05-20T08:28:06-07:00
by Drarakel
You could upload one of your BMP files - then we can tell you for sure.
It's also possible that your ImageMagick version is simply too old. What version do you use?