blueimp/JavaScript-Load-Image

scale down matching max size

Bilb opened this issue · 0 comments

Bilb commented

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