Page 1 of 1

Histogram images

Posted: 2015-09-26T16:25:50-07:00
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.

Re: Histogram images

Posted: 2015-09-26T17:32:10-07:00
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

Re: Histogram images

Posted: 2015-09-26T17:46:04-07:00
by magick
convert rose: -define histogram:unique-colors=false histogram:png:h.png

Re: Histogram images

Posted: 2015-09-26T18:09:34-07:00
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.

Re: Histogram images

Posted: 2015-09-27T07:26:56-07:00
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.