asilvas / node-image-steam

A simple, fast, and highly customizable on-the-fly image manipulation web server built atop Node.js
MIT License
170 stars 26 forks source link

Resize after cropping #65

Closed dottodot closed 1 year ago

dottodot commented 5 years ago

I'm wanting to crop an image and then resize afterwards but it alway fails unless the resize value is equal to or higher than the first resize.

This works

rs=w:800,h:800/cr=w:800,h:800

as does this

rs=w:800,h:800/cr=w:800,h:800/rs=w:800

but this doesn't

rs=w:800,h:800/cr=w:800,h:800/rs=w:600
asilvas commented 5 years ago

Thanks for the report! Feel free to create a PR. Otherwise I'll get to it as time permits.