Page 1 of 1

6.3.x conversions to wbmp incorrect - possible solution (?)

Posted: 2007-09-14T10:15:33-07:00
by fkarger
Hi,

I tested the following versions of convert of ImageMagick:
ImageMagick-6.3.5-8-Q16, ImageMagick-6.3.5-0-Q16, ImageMagick-6.3.4-0-Q16,
ImageMagick-6.3.3-0-Q16, ImageMagick-6.3.2-9-Q8, ImageMagick-6.3.2-9-Q16
on Windows 2000.
I also testet ImageMagick-6.3.5-8-Q16 on Linux Fedora 6.

I tried: convert action.bmp action.wbmp
and similar conversions (probably the source action.bmp can be an arbitrary image).

Under all conditions I had the same effect:
the resulting wbmp-Image is mainly black but has some white stripes.

I found out that ImageMagick 6.2.x (e.g. ImageMagick-6.2.8-7-Q16, ImageMagick-6.2.2-4-Q16) does not have this problem.

So I tried the following:
I replaced coders/wbmp.c from ImageMagick-6.3.5-8-Q16 with the old version
from ImageMagick-6.2.8-7-Q16 and compiled it. This seems to solve the problem.
If you compare the 2 wbmp.c you will only notice a very small difference so
someone more competent should easily be able to merge them in a more
intelligent way.

Regards,

Frank

Re: 6.3.x conversions to wbmp incorrect - possible solution (?)

Posted: 2007-09-14T11:32:48-07:00
by magick
Thanks for the bug report. We have a patch in ImageMagick 6.3.5-9 Beta to fix the problem you reported.