Log In  


Hi @zep

If the CSS declaration image-rendering: pixelated were added to gif images sitewide* (or at least in the gifs page) the sharp edges would be preserved, rendering these more closely to how they appear in PICO-8, even for 1:1 scale gifs (which would require drastically less file size / allow longer gifs).

A full ruleset targetting just gifs would be:

img[src$='.gif'] {
    image-rendering: pixelated;
}

Of course, for pixel-perfect representation, image sizes would need to be restricted to multiples of 128x128.

I hope you'll consider this change.

Thank you!

*Edit: probably not sitewide as it might have a negative impact on small/preview gifs etc compared to the current render method




[Please log in to post a comment]