diff --git a/examples/epd_pillow_image.py b/examples/epd_pillow_image.py index 3ba2fb3..eefa11c 100644 --- a/examples/epd_pillow_image.py +++ b/examples/epd_pillow_image.py @@ -71,7 +71,10 @@ image = image.resize((scaled_width, scaled_height), Image.BICUBIC) # Crop and center the image x = scaled_width // 2 - display.width // 2 y = scaled_height // 2 - display.height // 2 -image = image.crop((x, y, x + display.width, y + display.height)) +image = image.crop((x, y, x + display.width, y + display.height)).convert("RGB") + +# Convert to Monochrome and Add dithering +# image = image.convert("1").convert("L") # Display image. display.image(image)