Closed
Description
Will use vips_dzsave_buffer
, forces container
property to have a value of "zip".
Requires exposing the basename
property (libvips default is "undefined").
👇 PROPOSED API - NOT YET AVAILABLE available in v0.31.0
const zipFileWithTiles = await sharp(input)
.tile({ basename: "tiles" })
.toBuffer();
const iiififier = sharp().tile({ layout: "iiif" });
readableStream
.pipe(iiififier)
.pipe(writeableStream);
☝️ PROPOSED API
Metadata
Metadata
Assignees
Projects
Relationships
Development
No branches or pull requests
Activity
Talbot3 commentedon Aug 18, 2020
Thank your tips.here is my code that run pass.
lovell commentedon Aug 18, 2020
@Talbot3 This future possible enhancement is about Streaming a zip file containing multiple tile-based deep zoom (image pyramid) images with complete directory structure. The use of
toFormat('jpg')
in your sample code means it will only output one image.nikolay-atypon commentedon Sep 25, 2020
manfwh commentedon Sep 25, 2021
Add Buffer and Stream support to tile output #2238
lovell commentedon Jul 24, 2022
Commit b46ab51 adds support for
tile
output via Stream and Buffer. This will be in v0.31.0.lovell commentedon Sep 5, 2022
v0.31.0 now available with this improvement.