Don't PNG images only have 3 color channels?
e.g., #EDEDE9E9E1E1
identify -ping -format \"%w %h %k %b\" $tmp_fp_file
Why am I getting colors for 4 channels from a png image?
-
- Posts: 1
- Joined: 2019-10-04T21:00:40-07:00
- Authentication code: 1152
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Why am I getting colors for 4 channels from a png image?
No they can have 4 if you count the alpha channel. But you have 12 hex values. So that means you have a 3 channel 16 bit image. Your imagemagick is likely Q16 (default) which means 16-bit compile. So you can get that kind of value for colors. See https://imagemagick.org/script/color.php