don't you think it would be easier to just calculate the ratio before calling resizeImageBlobWithRatio here ?

just get rid of 'limitDivider' and use a 'ratio' property instead

also, more as a note, if we always call resizeImageWithBlobWithRatio with the same number of parameters the options object parameter is not so necessary now (I was more suggesting it if we didn't use a second function, which I do prefer), but you can still keep it if you think it's more readable.