@basemaps/tiler-sharp
TypeScript icon, indicating that this package has built-in type declarations

7.1.0 • Public • Published

@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' },
    });

/@basemaps/tiler-sharp/

    Package Sidebar

    Install

    npm i @basemaps/tiler-sharp

    Weekly Downloads

    3

    Version

    7.1.0

    License

    MIT

    Unpacked Size

    81.9 kB

    Total Files

    34

    Last publish

    Collaborators

    • blacha
    • linzds