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

HTML export lacks CSS image-rendering:pixelated on canvas #1036

Closed
solarized-fox opened this issue Mar 25, 2020 · 3 comments
Closed

HTML export lacks CSS image-rendering:pixelated on canvas #1036

solarized-fox opened this issue Mar 25, 2020 · 3 comments

Comments

@solarized-fox
Copy link

tested this in chrome, but basically when exporting an html cartridge, the canvas is not crisp, i.e. the browser applies the standard scaling algorithm. I applied the image-rendering: pixelated style and the image became considerably sharper. I had no luck getting this to work in safari, however, and I also tried crisp-edges, but didn't get any positive response in my limited testing

still, I see no harm in hedging bets by applying this property. however, my view is limited, as I am not primarily a webdev. I figured I'd ask here if there is a reason that style is not currently applied? or is it something we should go ahead and add?

@stefandevai
Copy link
Contributor

Hi! I think it's a good idea to enforce the rendering as pixelated :) We can add that and update the generated HTML file with the improvements from #972.

@asiekierka
Copy link
Contributor

Shouldn't this one be closed, as it was resolved?

@nesbox
Copy link
Owner

nesbox commented Jun 19, 2020

yes, fixed with #972

@nesbox nesbox closed this as completed Jun 19, 2020
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

No branches or pull requests

4 participants