Empty image detection
Currently, it seems like the only way to detect whether an image is empty or not is using image_to_string(...)
. However, this method is very inefficient on images containing thousands of characters or more. If it's possible, I'd be great to implement something like is_image_empty(image)
, which would return a bool
describing, whether the image is empty or not.