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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
fkarger

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Thanks for the bug report. We have a patch in ImageMagick 6.3.5-9 Beta to fix the problem you reported.
Post Reply