-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image aspect ratio morphed/incorrect #14
Comments
Ah, nevermind, I made a mistake. |
In case anyone else wants to convert their image to grayscale in Python, this code works: from PIL import Image, ImageOps
ImageOps.grayscale(Image.open('image.png')).save('grayscale.png') |
Great! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all: excellent software!
I created a simple python script to create images to display. Unfortunately, the image is somehow morphed:
![IMG_20210216_220700](https://user-images.githubusercontent.com/1534148/108121620-6320b480-70a3-11eb-9755-948a82b27459.jpg)
This is the displayed file:
![db](https://user-images.githubusercontent.com/1534148/108121646-70d63a00-70a3-11eb-9d95-2299434e09b7.png)
I tried to load it directly from my python script aswell as directly from nginx and in both cases the image was morphed.
Would be nice if you have an idea on how to fix this :)
The text was updated successfully, but these errors were encountered: