0.0.1 • Published 5 years ago

sharptile v0.0.1

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
5 years ago

API is not finalized, do not use in production!

Proposed Usage

  import sharptile from 'sharptile'
  import { promises as fs} from 'fs'

  const options = {
    tileSize: 256,
    overlap: 1,
    standard: 'dz',
    tile: '12/0_0.jpg'
  }

  const image = await fs.readFile('test.jpg')
  const tile = await sharptile(image).config(options).toFile()
0.0.1

5 years ago

0.0.0

5 years ago