MaxLaumeister / Pixelated.js

A polyfill for the "image-rendering: pixelated" CSS property
https://www.maxlaumeister.com/software/pixelated-js/
MIT License
8 stars 2 forks source link

Optional hqx scaling #5

Open MaxLaumeister opened 4 years ago

MaxLaumeister commented 4 years ago

Some sort of pixel art scaling algorithm would be neat for the user to have as an option. Hqx is one of the better-looking ones, in my opinion.

Bonus points if it uses webassembly or webgl for snappiness (not sure how CPU-intensive these algos are).

Using a background thread for scaling (web worker or similar) may be required for performance.

MaxLaumeister commented 4 years ago

Self-assigned. I've made some progress with hqx in webgl.