08-10-2017, 12:30 PM
(08-10-2017, 08:25 AM)rich2005 Wrote: It is a bit 'picky' about image size http://i.imgur.com/V3hnbHf.jpg
Cropping image and taking a stage further. Made the tiles. Now Reassemble
Re-assembling with some tool, Hugin, NIP2 or such as (heaven forbid ) arrange-layers-0.2.py http://i.imgur.com/72UnCLJ.jpg
Top left corner is Tile 01-01 - correct. Then the default numbering is column-wise. I find it more usual to order row-wise, that might just be me but if the Format includes a simple drop-down row-wise/column wise as well as editable that might save a few mistakes editing the values.
1) Yes. But if I have to deal with partial tiles, this gets messy:
- Do I make partial tiles or ignore them?
- Where do I take them? Top/Bottom? Left/Right?
- Or do I center and shave off the margins?
2) That's the whole point of the name format string. If you use "{row0}-[column0} your tiles are naturally sorted by row, but you can also use "{column0}-{row0} to get names sorted on columns. I have also added two formatting variables tileRC and tileCR which are just sequence numbers (so if you produce 10x20 tiles, then will go 1..200), one with row-first and one with column-first (and of course with 0-based and 1-based versions).