Removed print statement

This commit is contained in:
Andrew Murray 2022-10-13 14:31:26 +11:00
parent f63cc582b7
commit 9602908f7a

View File

@ -6,10 +6,8 @@ from PIL import Image, ImageMath
def pixel(im):
if hasattr(im, "im"):
return f"{im.mode} {repr(im.getpixel((0, 0)))}"
else:
if isinstance(im, int):
elif isinstance(im, int):
return int(im) # hack to deal with booleans
print(im)
A = Image.new("L", (1, 1), 1)