Open zhl111 opened 1 month ago
While I believe this goes beyond the author's intent for Phanpy, it would be awesome to have minor editing abilities. We could dream on it, but I wouldn't count on it. LOL.
@zhl111 I need some clarifications.
@Fastidious this is in my todo list for a long time 😂 but the issue is that it's a huge task (large JS file downloads, uses a lot of memory for loading large images that may crash the browser, and image editing is only one part of work as Mastodon supports video and audio uploads too - do they need editing? 🫠). Nevertheless, the most important functionality is actually image resizing and compression as servers have limitations on them.
1,before 2,cropping I am used to using Tusky(app for android ). I often use it to directly shoot books, crop and upload them. I don't need other videos and audios.
Hmm, I don't know that it requires large JS file downloads or lots of memory just to crop an image.
For another project I wanted to downscale large images to a maximum of 1536 pixels wide or high so photos would upload faster on bad connections, and I did it with 50 lines of JS. The same technique could be used to crop an image, as far as I can tell.
Or just the cutting function.