Hi everyone! I hope you are well during this crazy time. I'm having an oddity with histogram output:
Code: Select all
convert in.jpg -alpha off -depth 8 -flatten -separate -append -strip -define histogram:unique-colors=false histogram:histo.gif
is outputting a fine global histogram, except it has a huge spike in the bin of pure white all the way to the top. It seems this occurs no matter what image I use as input! (I would provide a sample but believe it is irrelevant and will happen for you, too! Please tell me if I'm wrong of course.) I just tried a simple JPG with no odd features, no alphas, no paths, nothing odd.
My build, installed with Homebrew on macOS 10.15.7:
ImageMagick 7.0.10-34 Q16 x86_64 2020-10-09
Features: Cipher DPC HDRI Modules OpenMP(4.5)
Delegates (built-in): bzlib freetype gslib heic jng jp2 jpeg lcms lqr ltdl lzma openexr png ps tiff webp xml zlib