possible bug in histogram: in IM 6.4.1-6 Q16 HDRI

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 in histogram: in IM 6.4.1-6 Q16 HDRI

Post by fmw42 »

I get nothing listed to the terminal from:

convert rose: -format %c histogram:info:-

and the file histogram.txt is empty if I do

convert rose: -format %c histogram:info:histogram.txt

I even tried with "%c" rather than %c, but got the same results

Am I doing something wrong? If not, would you verify.

Thanks

Fred
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug in histogram: in IM 6.4.1-6 Q16 HDRI

Post by magick »

Did histogram:info:- ever work? We don't recall support for multiple explicit image formats. That is histogram:- and info:- works but not histogram:info:-.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug in histogram: in IM 6.4.1-6 Q16 HDRI

Post by fmw42 »

I believe they did and I used them before. I was going by Anthony's example at:
http://www.imagemagick.org/Usage/files/#histogram


These choke:

convert rose: -format %c histogram:
convert rose: -format %c histogram:-
convert rose: -format "%c" histogram:
convert rose: -format "%c" histogram:-

convert rose: -format "%c" histogram:-
id=ImageMagick version=1.0
class=DirectClass colors=0 matte=False
columns=256 rows=200 depth=8
colorspace=RGB
resolution=72x72
page=256x200+0+0
create-date={2008-06-11T21:56:19-07:00}
modify-date={2008-06-11T21:56:19-07:00}


:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug in histogram: in IM 6.4.1-6 Q16 HDRI

Post by magick »

Hmmm... this works:
  • convert tree.gif -format %c histogram:info:-
This doesn't:
  • convert rose: -format %c histogram:info:-
ImageMagick is not generating a histogram comment if the number of unique colors exceed 1024. We will remove this restriction in the next release.
Post Reply