possible bug histogram:info: IM 6.6.1.-4

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

possible bug histogram:info: IM 6.6.1.-4

Post by fmw42 »

IM 6.6.1-4 Q16 Mac OSX tiger

Histograms do not return information to terminal any longer.

convert logo: -format %c histogram:info:

returns nothing


Apparently one now needs to add -define histogram:unique-colors=true per viewtopic.php?f=1&t=16022

Can or has this been documented somewhere, please!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug histogram:info: IM 6.6.1.-4

Post by magick »

See http://www.imagemagick.org/script/formats.php. Look for the Histogram image format.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug histogram:info: IM 6.6.1.-4

Post by fmw42 »

magick wrote:See http://www.imagemagick.org/script/formats.php. Look for the Histogram image format.

Thanks. I had no idea where to look for that.

I have about a dozen scripts now that I need to change.

In hind sight, it might have been better to disable the comment part when needed to speed up graphical histograms rather than require it be enabled for textual histograms. But too late now. So I will modify my scripts.
rnbc
Posts: 109
Joined: 2010-04-11T18:27:46-07:00
Authentication code: 8675308

Re: possible bug histogram:info: IM 6.6.1.-4

Post by rnbc »

fmw42 wrote:
magick wrote:In hind sight, it might have been better to disable the comment part when needed to speed up graphical histograms rather than require it be enabled for textual histograms. But too late now. So I will modify my scripts.
You are probably correct... probably more persons are counting on this that could be thought :-o

Since the change occurred so little time ago, and as the primary beneficiary (apparently), could I suggest the option be reversed for the benefit of the many ones that probably rely on this feature?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug histogram:info: IM 6.6.1.-4

Post by magick »

Look for a patch in ImageMagick 6.6.1-5 Beta by sometime tomorrow.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug histogram:info: IM 6.6.1.-4

Post by fmw42 »

thanks Magick and rnbc
Post Reply