Skip to content

Images are scaled to fit the image view causing stretching #12

Description

@LukeBrandon

This causes wide images to appear stretched vertically and tall images to appear stretched horizontally.

Possible solution: Determine if the height or width is the one that would reach the edge first (be fit first) and the opposite dimension is the one that would be stretched, so scale that linearly by the amount that the limiting dimension was scaled, thus preserving the aspect ratio.

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