@basemaps/tiler-sharp
v7.12.0
Published
Module contains the functions to support xyz tile server to generate tiles by using [sharp](https://github.com/lovell/sharp) and [libvips](https://github.com/libvips/libvips).
Downloads
193
Readme
@basemaps/tiler-sharp
Module contains the functions to support xyz tile server to generate tiles by using sharp and libvips.
const res = await compose({
layers, // all the tiles using to create the new one.
format: 'webp',
background: { r: 0, g: 0, b: 0, alpha: 0 },
resizeKernel: { in: 'lanczos3', out: 'lanczos3' },
});