joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Automatic image compression for uploaders

Open rglover opened this issue 3 years ago • 1 comments

This might be a chunky one but could be kind of cool. Was just looking at a webp image that was massive but had a tiny footprint. Would be nice if you could define an uploader and say "convert to ___." That way things like images could be .webp encoded or videos could be .webm encoded on the fly. Only concern is obvious cost of encoding. Maybe offer a way to connect to AWS encoder or something else just using credentials?

rglover avatar Dec 07 '22 20:12 rglover

This could easily be a separate package that Joystick offers. I have some example code using imagemagick (as well as stuff for video via ffmpeg) that could handle this.

rglover avatar Jul 18 '23 03:07 rglover

Definitely a separate package job as it'd require at least imagemagick and ffmpeg as dependencies (and the node wrappers for these are likely unpredictable).

rglover avatar Jul 24 '24 22:07 rglover