Why am I getting colors for 4 channels from a png image?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ridera

Why am I getting colors for 4 channels from a png image?

Post by ridera »

Don't PNG images only have 3 color channels?

e.g., #EDEDE9E9E1E1

identify -ping -format \"%w %h %k %b\" $tmp_fp_file
ridera

Post by ridera »

I found what was causing the problem; but don't understand why.

I had a crop staement before the histogram

"convert $tmp_fp_file -crop 50x0+200+0 histogram:", $histo_array
Post Reply