Histogram images

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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Histogram images

Post by snibgo »

IM v6.8.1-6 on Windows 8.1.

Code: Select all

convert rose: -define histogram:unique-colors=false histogram:h.png

convert rose: -define histogram:unique-colors=false histogram:h.gif
Both commands work, but the outputs are both MIFF instead of PNG or GIF.

Edit for clarity: the output files are names h.png and h.gif, but the actual filetype as shown by "identify" is MIFF for both.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Histogram images

Post by fmw42 »

I can confirm. I get the properly named files, but identify shows them as MIFF. IM 6.9.2.3 Q16 Mac OSX
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Histogram images

Post by magick »

convert rose: -define histogram:unique-colors=false histogram:png:h.png
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Histogram images

Post by snibgo »

Thanks for the workaround.

The command I showed used to work, as documented in http://www.imagemagick.org/Usage/files/#histogram, eg in v6.9.0-0.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Histogram images

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.2-4 Beta, available by sometime tomorrow. Thanks.
Post Reply