The place to discuss ofn-tiles (still fairly experimental as this thread is started) and ofn-export-layers
ofn-tiles and ofn-export-layers are available here (as separate packages).
So, you have a layer, ofn-tiles will cut it into X by Y tiles (you give the number of tiles of each direction), and save each tile in a
specified directory. ofn-tiles in accessed via Layer>Save as tiles.
Name of the tiles: the file names of the tiles are obtained by inserting the row and column number of the tile (or its sequence number) in a string that your provide. The place where these numbers are inserted are indicated by names in braces:
ofn-tiles and ofn-export-layers are available here (as separate packages).
So, you have a layer, ofn-tiles will cut it into X by Y tiles (you give the number of tiles of each direction), and save each tile in a
specified directory. ofn-tiles in accessed via Layer>Save as tiles.
Name of the tiles: the file names of the tiles are obtained by inserting the row and column number of the tile (or its sequence number) in a string that your provide. The place where these numbers are inserted are indicated by names in braces:
- row0, row1 is the row number of the tile. When using "row0" the first row is 0 and when using "row1" the first row is 1.
- column0, column1 is the column number of the tile. Ending in 0,1 is same as above
- tileRC0,tileRC1, tileCR0,tileCR1, is the tile number. Ending in 0,1 is same as above. The *CR has the rows scanned first so tiles 1, 2, 3 are in the first column while the *RC has the columns scanned first, and tiles 1,2,3 are in the first row.
- the string is the complete name of the file and should have an image format extension (png, gif, jpg...) since it will be used by Gimp to determine how to save the file. The defaults settings for the file type are used.
- the name pattern is actually a Python format, so modifiers can be used. For instance {row0:03d} will insert the row number on at least three digits, with zeroes added to the left if necessary: "000", "001", "013", "099", "100"