scale2x

Enlarge pixel art and low-res images with sharp edges preserved

brewmacoslinux
Try with needOr install directly
Source

About

Real-time graphics effect

Commands

scale2x

Examples

upscale a pixel art image by 2x$ scale2x input.png output.png
enlarge retro game screenshot without blurring$ scale2x -o 2 old_game.bmp scaled_game.bmp
make small sprite sheet bigger while keeping sharp pixels$ scale2x sprites.png sprites_2x.png
batch upscale multiple low resolution images$ for f in *.png; do scale2x "$f" "scaled_$f"; done
scale image to 4x size using scale2x twice$ scale2x input.png temp.png && scale2x temp.png output_4x.png