Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to split a long png from my artist into vertical chunks that I can load into my code for a side scroller.

Is there a tool that will help do that or do I have to do it manually?

share|improve this question
Couldn't you just keep it as one texture and render parts? – The Communist Duck May 1 '11 at 10:30
although not specifically what I was asking, this is the correct answer. The library I am using supports 'atlas' images. Make your comment an answer and will accept it. – Gregor Brandt May 2 '11 at 19:44
up vote 5 down vote accepted

Use a texture atlas, or a tilesheet of some kind. One texture in video memory is much less work than 100 textures in video memory.

share|improve this answer

Try which you can control from the command line to process images.

share|improve this answer
imagemagick does the job, but the comment above is 'more correct' in that I should be using an atlas and taking textures from there. thanks. – Gregor Brandt May 2 '11 at 19:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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