Using TImage32
About the documentation
Appearance
TCustomMap.Empty
Determines whether the map has zero area.
function Empty: Boolean; virtual;
Empty returns True if either Width <= 0 or Height <= 0. Returns False when both dimensions are positive.
Empty
True
Width <= 0
Height <= 0
False