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

Introduced a 'backgroundColor' property on the RoundCornerImageProcessor #766

Merged
merged 1 commit into from
Sep 10, 2017

Conversation

SebastianCrow
Copy link
Contributor

It allows to specify a background color for the rounded output image.
According to the issue: #757

…sor allowing to specify a desired backgroud color for the output image
@SebastianCrow
Copy link
Contributor Author

SebastianCrow commented Sep 9, 2017

Reference results

Initial state -> a background color outside of the rounded image (JPEG, rounded .topLeft and .bottomLeft) is white:
zrzut ekranu 2017-09-10 o 01 05 04

After an implementation, a background is set to the same color as the CollectionView:
zrzut ekranu 2017-09-10 o 00 55 06

Also, the blending is totally fine:
zrzut ekranu 2017-09-10 o 00 54 51

@onevcat
Copy link
Owner

onevcat commented Sep 10, 2017

LGTM! Thanks!

@onevcat onevcat merged commit d2235e4 into onevcat:master Sep 10, 2017
@luruke
Copy link

luruke commented Sep 11, 2017

Thank you! Any ETA for the update of the pod spec for this?

@onevcat
Copy link
Owner

onevcat commented Sep 12, 2017

@luruke I am creating a version for now.

@SebastianCrow SebastianCrow deleted the roundedBackgroundColor branch September 12, 2017 20:06
petarlazarov pushed a commit to dowjones-mobile/Kingfisher that referenced this pull request Oct 6, 2021
Introduced a 'backgroundColor' property on the RoundCornerImageProcessor
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.

3 participants