Problem reading non-square XBM in 6.6
Posted: 2011-02-02T15:40:44-07:00
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:
(i tried this with tiff and pbm too).
Result:
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
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
Result:
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