A web-based tool that converts regular images into pixel art with customizable settings.
| Original | Result |
|---|---|
Current version: v1.0.4
v1.0.4
- Added support for Print
v1.0.3
- Added support for images with transparency (alpha channel)
v1.0.2
- Added grid display feature
- Improved download button interaction
v1.0.1
- Added CSS media query to hide the original image container on mobile screens (width <= 768px)
- Adjusted the result container to take full width and provide better height utilization
- Improved mobile viewing experience by focusing on the converted result
v1.0.0
- Easy-to-use interface
- Real-time preview
- Adjustable pixel block size (2-10 pixels)
- Customizable color palette (2-64 colors)
- Download results as PNG
- No installation required - works in browser
- Samples corners of the image to determine background color
- Calculates average RGB values for consistent detection
- Uses color distance comparison
- Default threshold: 30 (adjustable)
- Replaces similar colors with exact background color
- Dynamic scaling based on input dimensions
- Preserves aspect ratio
- Uses nearest-neighbor scaling for pixel-perfect results
- Upload an image using the file input
- Adjust settings:
- Block Size: Controls pixel size
- Color Count: Sets the number of colors in the final image
- The image will be automatically processed with:
- Scaled dimensions (if needed)
- Pixel blocking
- Color quantization
- Anti-aliasing removal
- Download or print the result using the Save or Print buttons
- Print function automatically fills A4 page
- Grid display is preserved when printing (if enabled)
A desktop version of this pixel art generator is now available on Steam! Built on the same algorithm, the desktop application offers additional features and convenience.
Image2pixel-PixelArtGenerator on Steam
If you enjoy this web tool, please consider adding the desktop version to your Steam wishlist. Thank you for your support! 🙏
- Modern web browser with HTML5 Canvas support
- JavaScript enabled
- Recommended browsers: Chrome, Firefox, Safari, Edge
- Easy-to-use interface
- Real-time preview
- Adjustable pixel block size (2-10 pixels)
- Customizable color palette (2-64 colors)
- Download results as PNG
- Print results directly from browser
- No installation required - works in browser
- Improved mobile viewing experience
web/
├── css/
│ └── style.css # Styles
├── js/
│ └── main.js # Core functionality
└── index.html # Main page
Simply clone the repository and open web/index.html in your browser. No build process or dependencies required.
git clone htts://github.com/JobYu/image2pixel-web.gitThis repository also includes a Chrome Extension in chrome-extension/ that opens a popup for image-picking settings, and can also convert one image via the browser right-click menu.
- Open
chrome://extensions - Enable
Developer mode - Click
Load unpacked - Select the
chrome-extensionfolder from this repository
- Open any webpage with images
- Click the
Image2Pixel Pickertoolbar icon to open the popup - Adjust
Pixel SizeandColor Count, then click theSelect Imagebutton in the popup - Return to the page and click the image you want to convert
- To convert only one image without entering pick mode, right-click that image and choose
Convert this image to pixel art
The extension no longer injects its page runtime by default. The content script is injected only when the user opens the popup flow or uses the right-click conversion action. If the extension needs to fetch the original image bytes from a specific image host, Chrome will request optional site access for that host instead of granting broad access up front.
The release-ready store materials live here:
chrome-extension/store/chrome-web-store-listing.mdchrome-extension/store/privacy-policy.mdchrome-extension/store/release-checklist.mdweb/chrome-extension-privacy-policy.html
These files include:
- English and Traditional Chinese listing copy
- Permission justification text
- An extension-specific privacy policy draft
- A pre-submission checklist for screenshots, packaging, and dashboard fields
Before uploading to the Chrome Web Store, package the contents of chrome-extension/ as a ZIP archive. The store/ folder can stay in the package because it does not affect runtime behavior, but it is safe to exclude if you prefer a smaller upload artifact.
Copyright © 2024 image2pixel.app. All rights reserved.
Thanks to Pixel It for the inspiration.