mirror of
https://github.com/luanti-org/minetestmapper.git
synced 2025-10-17 02:25:25 +02:00
Add a --tilesize option.
The produces tiled output way faster than repeatedly using --geometry because it only reads the databse once.
This commit is contained in:
committed by
Martijn Versteegh
parent
7025cfe3bf
commit
fe5ba54fc9
@@ -76,6 +76,12 @@ Use specific map backend; supported: *sqlite3*, *leveldb*, *redis*, *postgresql*
|
||||
.BR \-\-geometry " " \fIgeometry\fR
|
||||
Limit area to specific geometry (*x:y+w+h* where x and y specify the lower left corner), e.g. "--geometry -800:-800+1600+1600"
|
||||
|
||||
.TP
|
||||
.BR \-\-tilesize " " \fItilesize\fR
|
||||
Don't output one big image, but output tiles of the specified size, e.g. "--tilesize 128x128". The sizes will be rounded to
|
||||
a multiple of 16. The filenames will be created in the form <x>_<y>_<filename>, where <x> and <y>
|
||||
are the tile numbers and <filename> is the name specified with -o. Skip empty tiles by also specifying --noemptyimage.
|
||||
|
||||
.TP
|
||||
.BR \-\-extent " " \fIextent\fR
|
||||
Dont render the image, just print the extent of the map that would be generated, in the same format as the geometry above.
|
||||
|
Reference in New Issue
Block a user