Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am using TexturePacker as tool to pack my 2D sprites, it is good but it doesn't provide the possibility to scale individual sprites to a specific scale.

I am wondering whether there is any good tool or command line to scale the files in the original folder without having to use TexturePacker.

What I am trying to do is to fix some scaling errors that the illustrator that produced the files did without having to re-scale/fix things using Photoshop that is more time expensive.

share|improve this question
add comment

closed as not constructive by Byte56, Josh Petrie, Anko, Sean Middleditch, bummzack Apr 20 '13 at 10:18

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 4 down vote accepted

You probably want the ImageMagick Convert Command-Line Tool:

It is very easy to manipulate images, for example to resize:

convert input.png -resize 200% output.png
share|improve this answer
    
Thanks, that's exactly what I needed. –  mm24 Apr 19 '13 at 9:25
add comment

Ok I don't know exactly what the problem is. First if the sprites are small (16x16 or 32x32), you want to use a proper editing tool anyway. At these resolutions scaling will almost always look very ugly.

Now to the solution: ImageMagick

ImageMagick is a command line tool and combined with a small shell/batch script you can convert, resize or whatever lots of images in a batch.

Here is the documentation on resize

Here is a forum thread discussing your program with some example batch scripts.

share|improve this answer
add comment

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