Open kevalpatel2106 opened 6 years ago
Why based on byte count and not size?
I didn't use size because createBitmap
doesn't allow to set the bitmap dimensions to zero. So there is no point of checking the size of the bitmap to see if the bitmap is of 0 * 0 size.
I think it would be great if bitmap has an extension for checking if the bitmap is empty or not based on the byte count.