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

Make circle displayer preserve aspect-ratio #1257

Merged
merged 1 commit into from Apr 6, 2020
Merged

Conversation

@rom1v
Copy link
Contributor

@rom1v rom1v commented Aug 30, 2016

CircleBitmapDisplayer distorted non-square images to fill the ImageView.

Instead, keep the largest surface centered inside the image that preserve aspect-ratio.

Before | After
auil_before_60 auil_after_60

Compare with the original images:
8 9 10 11 12 13 14 15

CircleBitmapDisplayer distorted non-square images to fill the ImageView.

Instead, keep the largest surface centered inside the image that
preserve aspect-ratio.
@nostra13 nostra13 merged commit d72d934 into nostra13:master Apr 6, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.