JavaScript-Load-Image
JavaScript-Load-Image copied to clipboard
scale down matching max size
Hey is there any way to make the image a max size when scaling? Like give the max width, the max height but also the max byte length? and match all of those?
Right now I am looping and reducing the quality until I match the desired weight but it's quite slow...
Cheers