I'm trying to compile a nice website/portfolio for internships etc, and I have a folder filled with pixel art I've done (100's of images, not feasible to do them one at a time except if absolutely necessary).

Unfortunately, it's all a little small (32x32 and the like) and the website service I'm using, Squarespace, displays them at actual size. I really want to make all of my art 2x as big (or perhaps 4x as big) without losing the pixel quality (I don't want any blur or anything like that). I've looked in a lot of places and I can only find vague references to unwieldy command line programs that I can't seem to figure out or links to webtools that take several seconds per image to do.

I would much appreciate a step-by-step guide (or link to one) on how to do this in the simplest way possible, for free or very cheap. Thank you!

  • 1
    What software do you have access to?
    – Westside
    Dec 1, 2017 at 0:18
  • @Westside Only free software. Not photoshop or anything like that unfortunately.
    – W. Miles
    Dec 1, 2017 at 21:09

3 Answers 3


You could use imagick's convert with "point" filter Just run loop over all your files like so:

for inputfile in *;
convert "$inputfile" -filter Point -resize x256 +antialias "$inputfile".scaled.png;

Replace x256 with desired height and change extension as you like.

…this would be for Linuxshell - but there's a Windows version, too. See ImageMagick-Homepage



After a wild goose chase, I've found this hidden gem here that's extremely helpful. It's able to batch resize or pad the images with nearest-neighbor scaling algorithm.

Usually my personal settings while working with it are like this:


Resize: Percentage
Scale Percentage: 800
Resampling: Nearest Neighbor
Color Depth: 32-bit (important)


Resize: Padding
Dimensions: 300x300

However, it doesn't seem to make optimizations. Generally I'd pass the zip-extracted image folder through GIMP with the "Save ALL" script to achieve an optimized spritesheet folder that is 2.5x smaller.


Photoshop batch action with Nearest Neighbor resizing.

Set up an action, create a droplet...

Drop the folder on the droplet and let Photoshop do it's thing.

I do this monthly for a client of mine who supplies several images that all require the same 6 steps in Photoshop to make them usable.

Here's a link to a tutorial I just found. It may help. I didn't go through it extensively.

  • Great answer! I don't have photoshop though, is there any other option?
    – W. Miles
    Dec 1, 2017 at 21:09
  • There is a free trial.
    – Scott
    Dec 2, 2017 at 2:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.