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

Fix low quality thumbnails with Xcode 11 #171

Merged
merged 1 commit into from Oct 4, 2020

Conversation

bruno-aguiar
Copy link
Contributor

@bruno-aguiar bruno-aguiar commented Jan 8, 2020

Description

When building the project with Xcode 11, the default value for PHImageRequestOptions.resizeMode is .fast. This causes the PHImageManager to send lower resolution images which appear blurred when displayed in the photo picker cells.

Xcode 10, iPhone 6s, default value ->.none: 256x342, sometimes 256x454
Xcode 11, iPhone 6s, default value -> .fast: 92x124 (looks blurred)

Changes

  • Explicitly set resizeMode to .none

.none is the default value when building the project with Xcode 10.

Change 1
Before After

(Open in new tab for better comparison)

@bruno-aguiar
Copy link
Contributor Author

@lars-fosaas Any chance you can check this PR? Thanks!

@ezisazis
Copy link

ping @lars-fosaas

Tried it, it works well

@ezisazis
Copy link

@lars-fosaas ping

@3lvis
Copy link
Collaborator

3lvis commented Oct 4, 2020

Thanks @bruno-aguiar !

@3lvis 3lvis merged commit 089ccf1 into hyperoslo:master Oct 4, 2020
@bruno-aguiar
Copy link
Contributor Author

@3lvis Thanks for finally merging this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants