Skip to content

Conversation

@jcgiuffrida
Copy link

This will quadruple the canvas size and resolution if retina support is detected. devicePixelRatio is a window-scoped variable.

Currently, using simg on retina results in images that have 1/4 the resolution (or 1/4 the size) of the SVG in the browser.

`devicePixelRatio` is a window-scoped variable
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.

1 participant