Cutting images into tiles

Hi!

I’ve asked about this before but I don’t get any replies anymore and I know the thing I want is possible as I’ve seen other do it. (Stratagus uses it).

I got this file in one surface: www.caturn.dk/warrior.png
As you can see, this picture contains 10 small pictures.
I want to put each of these 40x40 images into their own surface.
In an array called “back” to be more precise.

Kind regards,
Christian