Page 1 of 1

Problem reading non-square XBM in 6.6

Posted: 2011-02-02T15:40:44-07:00
by e-schr
My version of Imagemagick seems to have problems reading XBM

Specifically the XBM’s from Anthony’s icons Library, as an example this 64x54 image:
http://www.ict.griffith.edu.au/anthony/ ... endar2.xbm

When performing an operation on it, Imagemagick will always output the image so that it’s a square, and fill in the remaining canvas with black.
I first thought it was a problem scaling, but it manifests itself also if we simply convert an image 1 on 1:

Code: Select all

$ convert calendar2.xbm calendar2.png
(i tried this with tiff and pbm too).

Result:

Image

I’ve ran into this on two machines, both OSX 10.6.5, running ImageMagick 6.6.4-5
ImageMagick 6.5.7-8, running on Ubuntu 10.04, outputs the image fine.

Thanks for your attention,

Eric

Re: Problem reading non-square XBM in 6.6

Posted: 2011-02-02T17:47:04-07:00
by magick
We did the conversion with ImageMagick 6.6.7-4, the current release, and it returned the expected results (a 64x54 icon).

Re: Problem reading non-square XBM in 6.6

Posted: 2011-02-02T18:21:24-07:00
by anthony
I confirm it works.

Re: Problem reading non-square XBM in 6.6

Posted: 2011-02-04T13:47:30-07:00
by e-schr
Thanks for your replies. Installing a newer version (6.6.7-1, via my package manager), indeed solves the problem.

Thanks, Eric