Page 1 of 1

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

Posted: 2008-06-11T18:36:16-07:00
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

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

Posted: 2008-06-11T20:34:05-07:00
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:-.

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

Posted: 2008-06-11T21:58:03-07:00
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}


:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

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

Posted: 2008-06-12T07:06:08-07:00
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.