3

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?

2 Answers2

5

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.

PrettyPrincessKitty FS
  • 10,315
  • 8
  • 43
  • 68
2

Try http://www.imagemagick.org/ which you can control from the command line to process images.

Adam
  • 7,346
  • 19
  • 25
  • 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 02 '11 at 19:45