Page 2 of 2

Re: Read 32bit bmp weird

Posted: 2014-12-09T09:06:27-07:00
by dlemstra
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.

Re: Read 32bit bmp weird

Posted: 2014-12-10T02:08:00-07:00
by wizard29
I found some interesting facts about the problem. Maybe it would be helpful.

Re: Read 32bit bmp weird

Posted: 2014-12-10T10:00:13-07:00
by dlemstra
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.

Re: Read 32bit bmp weird

Posted: 2014-12-10T10:25:31-07:00
by fmw42
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

Posted: 2014-12-15T08:50:45-07:00
by dlemstra
This is fixed and will work properly in the next release of ImageMagick (6.9.0-1)