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

feat(png): saved image uses device pixel ratio #153

Merged
merged 1 commit into from
May 20, 2020

Conversation

louh
Copy link
Contributor

@louh louh commented May 18, 2020

If the user downloads a PNG from a monitor with a high pixel density (such as a Macbook with a Retina screen) then the resulting PNG will be pixelated. This PR renders the resulting PNG at the same pixel density as the user's monitor.

(Extracted into a separate PR from #84.)

Copy link
Owner

@cy6erskunk cy6erskunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you very much!

@cy6erskunk cy6erskunk merged commit 30b1d34 into cy6erskunk:master May 20, 2020
@louh louh deleted the louh/device-pixel-ratio branch May 20, 2020 14:13
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