1.0.2 • Published 1 year ago

@ou-imdt/tiler v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Tiler

Command-line tool for generating deepzoom tiles.

Environment

  • node v10.16.3
  • npm 6.9.0

Install

npm i -g @ou-imdt/tiler

Command to Sanitise File names

The following command expects a filepath to a directory, it will attempt to recursiving parse through any subfolders sanitising file names by removing spaces, commas and setting them to lowerr-case.

This is to be used on a folder of source images before tile processing.

Command signature:

tiler sanitise [filepath]

Example:

tiler sanitise ./path/to/folder

Command to Process Tiles

Command signature:

tiler tile [input] ./[output] (format)

Command example 1:

tiler tile ./source-folder ./output-folder zoomify

Command example 2:

tiler tile ./source-folder ./output-folder deepzoom

Command example 3 (defaults to deepzoom):

tiler tile ./source-folder ./output-folder