-
Notifications
You must be signed in to change notification settings - Fork 170
Description
When using zoom combined with mode=crop, returned image has its original dimensions, with cropped area streched to its dimensions.
Example: http://resizer.apphb.com/fountain-small.jpg?w=1000&h=1200&mode=crop&zoom=1.8
The problem seems to appear above some threshold (when width of the resized image exceeds the original dimension)
Also, it does not respect that images should not be upscaled by default, for example: http://resizer.apphb.com/fountain-small.jpg?w=1000&h=1200&mode=crop&zoom=1.5 returns image resized to 1500x1800, although original size, cropped version of image is 1000x1200 fragment.
Interestingly, everything works fine if add crop parameters:
http://resizer.apphb.com/fountain-small.jpg?w=1000&h=1200&mode=crop&zoom=23&crop=0,0,1000,1200
