Skip to content

Applied scale to canvas to prevent blurry images.#159

Open
KyleSmith0905 wants to merge 1 commit intoctrl-freaks:masterfrom
KyleSmith0905:fix-resolution-on-large-device-pixel-ratio-screens
Open

Applied scale to canvas to prevent blurry images.#159
KyleSmith0905 wants to merge 1 commit intoctrl-freaks:masterfrom
KyleSmith0905:fix-resolution-on-large-device-pixel-ratio-screens

Conversation

@KyleSmith0905
Copy link

Closes #158

Applies a scale on images with high device pixel ratio.

My computer has a device pixel ratio of 1.25, so a 24x24 image was being rendered onto 32x32. Consequently, the image was blurry.

Copy link

@davelavoie davelavoie left a comment

Choose a reason for hiding this comment

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

Confirmed working!

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.

Static image is blurry on high device pixel ratio screens.

2 participants