Skip to content

Filers: Image appears skewed after applying filter. #17

@aerych

Description

@aerych

Expected behavior

To apply a filter to an image, and see the filtered image with the same aspect ratio and not skewed.

Actual behavior

Applying a filter (in the iPhone X simulator) results in the filtered image appearing skewed, as if the UIImageView displaying the image had its content mode set to fill vs aspect-fit.

Steps to reproduce the behavior

Choose to edit a UIImage (I also reproduced with remote images).
Simulator Screen Shot - iPhone X - 2020-02-10 at 13 51 32

Select the filter option.
Simulator Screen Shot - iPhone X - 2020-02-10 at 13 51 53

Apply a filter like Sepia
Simulator Screen Shot - iPhone X - 2020-02-10 at 13 51 58

Observe the image is now skewed.
Simulator Screen Shot - iPhone X - 2020-02-10 at 13 52 02

Bonus, rotate the device and notice how the image stretches. This is what has me thinking about the content mode.
Simulator Screen Shot - iPhone X - 2020-02-10 at 13 52 13

Tested on [device], iOS [version], WPiOS [version]

iPhone X Simulator,

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions