Closed
Description
Using /fit-in/AxB/
is cropping images rather than fitting them within the dimensions specified.
Example: https://i1rk6c9qi5.execute-api.us-east-1.amazonaws.com/image/100x100/bart.png
A workaround to fit an image into the resize area is to use the upscale filter:
https://i1rk6c9qi5.execute-api.us-east-1.amazonaws.com/image/200x50/filters:upscale()/bart.png
The fix for this might be in the process(event)
function:
... the this.edits.resize.fit = 'inside'
needs to be set, the same as what happens in the upscale()
filter.
Metadata
Metadata
Assignees
Labels
No labels