Skip to content
Projects

Astropulse/pixeldetector has 369 GitHub stars and 23 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-17 02:13 UTC. Last push 2024-04-04.

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Downscale and restore pixel art images that have been resized or corrupted.

Developer Tools

README.md

Original

Pixel Detector

Downscale and restore pixel art images that have been resized or corrupted.

This is primarily created to fix compression issues from saving pixel art in jpg format.

Built into Aseprite with Retro Diffusion pixel art generator (Edit -> FX -> Repair pixel art): https://astropulse.gumroad.com/l/RetroDiffusion

Exaggerated example:

Example

Usage

Requirements: Pillow, Numpy, Scipy

Run pixeldetector.py

Arguments:

-i --input: Expects string, Path to input image

-o --output: Expects string, Path to save output image, default = output.png

-m --max: Expects int, Max colors for computation, more = slower, default = 128

-p --palette: Expects none, Automatically reduce the image to predicted color palette

Credits

Big thanks to https://github.com/paultron for numpy-ifying the downscale calculation and making it tons faster.

Test image by Skeddles https://lospec.com/gallery/skeddles/rock-and-grass