Game Designers Need Multiple Sizes of Each Image

…for print, 300 dpi.  For screens, anywhere from 72 to 350ish ppi.  

I don’t want to waste time manually resampling full resolution artworks down to 1024, 512, etc. sizes.  So I wrote a little script to do that and keep the source and output images neatly organized into subfolders.

First, make sure you have Homebrew installed, then type: brew install imagemagick

Then run a script like this:

Here’s the z-shell (ZSH) script for use in a MacOS terminal session:

That will give you outputs like:

64px
128px
256px
512 px

…free and within seconds from the original:

1024px

If you need to scale lots of (thousands of) images up, then ImageMagick is the wrong tool.  You probably will want to shift over to something like RealEsrganx4, like I talked about in this post: 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>