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

Histogram images

Post by snibgo » 2015-09-26T16:25:50-07:00

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: 22670
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Histogram images

Post by fmw42 » 2015-09-26T17:32:10-07:00

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: 10756
Joined: 2003-05-31T11:32:55-07:00

Re: Histogram images

Post by magick » 2015-09-26T17:46:04-07:00

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

snibgo
Posts: 9742
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Histogram images

Post by snibgo » 2015-09-26T18:09:34-07:00

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: 10756
Joined: 2003-05-31T11:32:55-07:00

Re: Histogram images

Post by magick » 2015-09-27T07:26:56-07:00

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