Description
Pixel It is a JavaScript library that turns an image into pixel art in the browser. You point it at an image element and a canvas element with the id pixelitcanvas, and it draws a pixelated version of the picture onto the canvas. The API lets you set the pixel scale from 0 to 50, convert the image to greyscale, and map its colours onto a custom palette. The palette is an array of RGB colours, and the test page can also load a palette file. You can resize the output to a maximum width or height, and save the result as an image download. js is a minified build transpiled for ES5. Developers who want to change the library can run npm install, edit the source in the src folder and run gulp serve to produce the dist and docs outputs. A docs page includes a test page for checking different image sizes.…
Highlights
- Pixelate images in the browser
- Pixel scale from 0 to 50
- Greyscale and custom colour palettes
- Resize output to a maximum width or height
- Save the result as an image
Ratings & Reviews
No ratings yet
Be the first to rate Pixelit.
People also visit
Pixelit FAQ
What is Pixel It?
A JavaScript library that creates pixel art from an image and draws it onto a canvas.
How do I use it?
Create a canvas with the id pixelitcanvas, point Pixel It at an image element and call draw. The docs cover the default configuration and the options.
Which file should I load?
pixelit.js, an ES6 build, or pixelitmin.js, a minified build transpiled for ES5.
Can I limit the colours?
Yes. setPalette takes an array of RGB colours, and convertPalette applies it after draw is called.
Can I save the result?
Yes. saveImage saves or downloads the current image.
What are the best Pixelit alternatives?
Popular alternatives to Pixelit include ComfyUI-PixelArt-Detector, Pixel Paint and Pixel Art React. See all Pixelit alternatives




