Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filers: Image appears skewed after applying filter. #17

Open
aerych opened this issue Feb 10, 2020 · 0 comments
Open

Filers: Image appears skewed after applying filter. #17

aerych opened this issue Feb 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@aerych
Copy link
Member

aerych commented Feb 10, 2020

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,

@aerych aerych added the bug Something isn't working label Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant