Licence
GPL-3.0
Version
0.0.1
Deps
2
Size
2.9 MB
Vulns
3
Weekly
0
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()