Skip to content

Problem when resizing #39

@msvobodnikov

Description

@msvobodnikov

I have problem when resizing crop area. Especially then it is non-square - like 512x768.
If crop area goes beyoind image boundries, it is not resized in that direction, but still resized in the other:

The code:

           if scaled_size[0] > self.scaled_width:
                scaled_size = (self.scaled_width, self.scaled_width)
            if scaled_size[1] > self.scaled_height:
                scaled_size = (self.scaled_height, self.scaled_height)

I think this is mistake and you should set scaled_size = (self.scaled_width, self.scaled_height)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions