-
-
Notifications
You must be signed in to change notification settings - Fork 384
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 resizing #677
Comments
Tusky already resizes images that are larger than 8mb, which is the default max image size for Mastodon. |
I've tried a few images. They're coming off the camera on the phone. Sizes of images that failed to post: 4.52mb, 6.74mb, 6.86mb. I took a screenshot (202kb), and that posted fine. |
Ahhhh I could reproduce it! Seems that not the filesize is the issue, but there is also a restriction on image dimensions. I will figure out what the limit is and adjust the resizing in Tusky accordingly. Thx for reporting! |
For the record: The limit is 4096^2 pixels |
Ah, yes, I totally forgot about it! |
I dont think we can break anything if we downsize more agressive than we do now? |
I thought that he problem is ratio, not the size. |
That might be a separate issue, but I'm uploading normal images straight from my camera, so 4:6 or whatever close to rectangular images that produces. |
When I try to post a toot containing an image, the image upload progress bar gets all the way to the end, then I get the error: "The upload failed."
This appears to be related to mastodon.social limits on image upload sizes. In Mastalab, I can configure it to resize to ex. 2mb, which works (even though it looks awful). Tusky doesn't appear to have a similar setting, and it should. The only way I can post an image with Tusky is to resize it in an image editor, which is so annoying that I just don't post at all.
Tusky Version: 1.8.0
Android Version: 8.0.0
Android Device: Sony Xperia XZ1 Compact
Mastodon instance (if applicable): mastodon.social
I searched or browsed the repo’s other issues to ensure this is not a duplicate.
Possibly related: resize image of a post #223
The text was updated successfully, but these errors were encountered: