Is it possible to detect if a image has only one color by looking at the binary itself?
I need a quick check if my image is broken.
I’m expecting a photo and not all black pixels. I would like to perform the test without decoding.
Is it possible to detect if a image has only one color by looking at the binary itself?
I need a quick check if my image is broken.
I’m expecting a photo and not all black pixels. I would like to perform the test without decoding.