Is there a mastodon client for web/windows (or a browser extension) that'll let me paste images into a post, but have them end up uploaded as jpegs, not giant PNGs?
Images copied out of an image editor, I mean. Obviously I can drag JPEG files into the upload box.

Basically I'm trying to adapt my Twitter workflow to mastodon. I take picture with my cellphone, it's automatically synced to my desktop, I drag those images into my image editor and rotate/adjust as needed, then select the area I want to post and hit COPY, then paste that into the Twitter client.

Show thread

This avoids having to save a file for the cropped version, and having to then find that file again to post it.
No file also means I don't have to clean up those files or have it clutter up my hard drive forever.
And I don't save the edit, so my synced camera photos folder remains the original image, in case I need to crop it differently later.

Show thread

Unfortunately the copying of a partial image, on windows (and I believe Linux too, but haven't tested recently), ends up as some kind of bitmap (possibly a literal BMP), so when I go to paste it, the browser/mastodon has no idea that this shouldn't be a lossless PNG, and unlike Twitter mastodon doesn't enforce converting huge PNGs to JPEG, so I end up posting what could be a 100k jpeg as a 2mb PNG instead

Show thread

I am thinking of running my own mastodon instance, for other Reasons, so if this is something I could configure in the server side, that might work too. Just set up my instance to emulate something like Twitter's "if it's too big as a png, make it a jpeg instead" rules.

Show thread
Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml