Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tardisx committed Jun 24, 2019
1 parent ff4ebae commit f740dc8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# slicerdicer

Slice and dice an image, turning it into many equal sized tiles. Useful
for things like leaflet.js, with the Leaflet.Zoomify plugin.
for tools like leaflet.js, to create interactive "slippy" maps.

The image is sliced up into equal sized tiles, based on the command line
option `--tile-size` (default 512 pixels).
option `--tile-size` (default 256 pixels).

Once the tiling is finished, the original is resized to half its current
dimensions (the orignal file on disk is not touched) and the process repeats.
Expand All @@ -25,8 +25,12 @@ the top left tile.

## Notes

It's going to eat some memory.
### Memory

In my tests on an 32641 x 16471, 8-bit/color RGB PNG, memory usage peaks at
around 2.7GB.

### Speed

On that same test image, the run takes around 63 seconds to create the 11179
tiles, on my fairly underwhelming MacBookPro12,1 (dual core i5).

0 comments on commit f740dc8

Please sign in to comment.