bmp with alpha channel in png with transparent background

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Nezar
Posts: 14
Joined: 2010-05-19T00:03:19-07:00
Authentication code: 8675308

bmp with alpha channel in png with transparent background

Post 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
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: bmp with alpha channel in png with transparent backgroun

Post 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.
Nezar
Posts: 14
Joined: 2010-05-19T00:03:19-07:00
Authentication code: 8675308

Re: bmp with alpha channel in png with transparent backgroun

Post 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?
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: bmp with alpha channel in png with transparent backgroun

Post 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?
Post Reply