We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think images may need to be resized, sometimes they fail like this:
2017-01-18 07:39:22,299 - root - ERROR - unable to tweet: [{'message': 'Image dimensions must be >= 4x4 and <= 8192x8192', 'code': 324}]
The text was updated successfully, but these errors were encountered:
Here's one way, maintain aspect ratio with 8192x8192 max resolution:
pip3 install pillow
from PIL import Image im = Image.open(filename) im.thumbnail((8192, 8192)) im.save(filename)
https://pillow.readthedocs.io/en/latest/reference/Image.html#examples
Sorry, something went wrong.
No branches or pull requests
I think images may need to be resized, sometimes they fail like this:
The text was updated successfully, but these errors were encountered: