hasTransparency
-
emlib.img.hasTransparency(img)[source]
Returns True if this image has an alpha channel
- Parameters:
img (Union
[str
, Image
]) – the image or a path to it
- Return type:
bool
- Returns:
True if the image has transparency
Styled using the Piccolo Theme