Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upscaling not working with fit-in #856

@verglor

Description

@verglor

original image 152x152

Thumbor request URL

/unsafe/fit-in/320x200/...
/unsafe/fit-in/320x200/filters:fill(aaa)/...

Expected behaviour

The image should be upscaled to 200x200 to fit in 320x200 frame preserving aspect ratio.
If fill filter is used, then it should upscale to 200x200 with 60px padding on right and left to create desired 320x200 image.

Actual behaviour

The image stays in original size 152x152 as if no_scale filter was applied.
If fill filter is used, then original size 152x152 is padded to 320x200 (padding all over the original image)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions