Image::GetNonBlackRect

Get the rect inside the image bounding the non-black content of the image.