asilvas / node-image-steam

A simple, fast, and highly customizable on-the-fly image manipulation web server built atop Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resize after cropping

dottodot opened this issue · comments

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

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