Convert Image To Tile Set

Miscellaneous Forums/Content Creation Tools/Convert Image To Tile Set

Is there any program that can take a large image and convert it into a set of separate tiles? That would be extremely useful.

If not, can someone point me to an easy tutorial on writing and reading with pixmaps and all that ;)

I'd love to make my own, but writing and reading pixmaps is not as easy as I thought it would be. The tutorials on BlitzWiki are kind of screwed up..

Thanks!

What result do you want?
If you have a 320*320 image and want 32*32 tiles then simply load it with LoadAnimImage.
If you want seperate images per tile then
mypixmap:TPixmap=LoadPixmap("blah")
temppixmap:TPixmap=Pixmapwindow(mypixmap,x,y,w,h)
savepixmappng(tempixmap,"Bah")
All you would need to do is loop X/Y for
imagewidth()/tilesizex and imageheight()/tilesizey

Wow, never even thought of making an animated image..

That's much better than anything I coulda wanted. Thanks so much tony :)