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

Add pixelRatio to circle variant of preview. #68

Merged

Conversation

yarynakorduba
Copy link
Contributor

@kirill3333 would it make sense to add pixelRatio inside the circle variant of preview? Otherwise we are only able to preserve the image quality in square variant.

Changes:

  • added pixelRatio to the the circle variant inside getPreview

Before:
image

After (with indicated exportSize):
image

@kirill3333 kirill3333 merged commit 1b500fd into kirill3333:master Mar 9, 2021
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.

2 participants