Page 1 of 1

how do you break up a big image into smaller images?

Posted: Sun Sep 05, 2004 12:55 pm
by roid
how do you break up a big image into smaller images - en-mass?

what i want to do is break up some of my huge satelite photos and maps into a grid of smaller logically named "tiles" that make up the whole.

i want to do this so that i can use Virtural Texturing techniques in Celestia, so that i don't have to load whole textural planetary images of colourmaps/normalmaps/specularmaps/whatever (can take upto hundreds of megabytes), but can just load "what i see" instead.
but that's all becides the point, coz all i need is:

an automated way to break up huge images into smaller saved logically named files (ie: tx_0_0.jpg tx_0_1.jpg tx_1_0.jpg tx_1_1.jpg) .

i'm not sure of the LINGO i should be putting into google. all of my searches for "tiles" seem to be talking about howto make reoccuring tile patterns.

tiles?
image segmentation?
mozaic?
image spliting?
grid cutting?

does anyone have any idea on any termanology that can help me to find an easy program/script/plugin/filter that does this? i imagine this kindof thing is used a lot by webdesigners, breaking up bigger images into smaller ones to make menus etc.

Posted: Sun Sep 05, 2004 1:03 pm
by fliptw
I think slicing is what you are looking for.

Photoshop might be able to do it via its actions.

Posted: Sun Sep 05, 2004 2:06 pm
by roid
that help got me far, thanks. just one niggling problem:

how do you get photoshop/imageready to save your sliced with more than just a 1,2,3,4,5,6,7,8,9,etc filename?

eg: if i slice an image into 9. i don't want the files labeled 1 2 3 4 5 6 7 8 9

i want them labeled as their coordinates, eg:
1,1 1,2 1,3
2,1 2,2 2,3
3,1 3,2 3,3

if this can be solved, then that's it. it'll be smiles all round :)