Read 32bit bmp weird
Re: Read 32bit bmp weird
I will take a look at the BMP when I am back behind a pc again. There might be a something that should tell us to ignore the extra bits. I cannot find the link I found earlier when I researched this but zero is transparent and 255 opaque.
-
- Posts: 58
- Joined: 2014-03-21T00:40:16-07:00
- Authentication code: 6789
- Location: Russia, Saint Petersburg
- Contact:
Re: Read 32bit bmp weird
I found some interesting facts about the problem. Maybe it would be helpful.
Re: Read 32bit bmp weird
It seems like they are writing BMP3 files but I cannot test that at this moment. I think our code should not enable the alpha channel if the bmp header version is lower then 4. I will work on a patch to test this next week.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Read 32bit bmp weird
See http://www.imagemagick.org/Usage/formats/#bmp. It appears that BMP3: does not support transparency (at least not that IM can do).
Re: Read 32bit bmp weird
This is fixed and will work properly in the next release of ImageMagick (6.9.0-1)