Identify images with blocks of black colour
Posted: 2015-08-22T08:35:00-07:00
Hello! I would like to know if it is possible to identify image with black blocks. I'm downloading static aerial pictures from the Google API, but for places where Google has not images available, it returns black, but with street names and other things. Example picture:
Such pictures are generally smaller in size than working ones, but that is not always the case, as in the example below of an image that is small too, but has almost only the green colour:
The only thing I want is for ImageMagick to identify such images as the first one, so I can delete them and retry downloading again every month.
I have the command-line ImageMagick 6.7.7.10 on Linux. Thank you for your attention!
Such pictures are generally smaller in size than working ones, but that is not always the case, as in the example below of an image that is small too, but has almost only the green colour:
The only thing I want is for ImageMagick to identify such images as the first one, so I can delete them and retry downloading again every month.
I have the command-line ImageMagick 6.7.7.10 on Linux. Thank you for your attention!