by accosine · 7y ago · 0 comments
Image-conversion is the library I've used the most, since you can target file-size || quality:
https://github.com/WangYuLue/image-conversion
// 8 Lines not including sarcastic comments obviously.