mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: change Deep Zoom file extension for libvips v8.4.2+
This commit is contained in:
parent
8717ecc429
commit
4af702ee11
@ -161,7 +161,7 @@ sharp('input.tiff')
|
|||||||
.tile({
|
.tile({
|
||||||
size: 512
|
size: 512
|
||||||
})
|
})
|
||||||
.toFile('output.dzi', function(err, info) {
|
.toFile('output.dz', function(err, info) {
|
||||||
// output.dzi is the Deep Zoom XML definition
|
// output.dzi is the Deep Zoom XML definition
|
||||||
// output_files contains 512x512 tiles grouped by zoom level
|
// output_files contains 512x512 tiles grouped by zoom level
|
||||||
});
|
});
|
||||||
|
@ -237,7 +237,7 @@ const toFormat = function toFormat (format, options) {
|
|||||||
* .tile({
|
* .tile({
|
||||||
* size: 512
|
* size: 512
|
||||||
* })
|
* })
|
||||||
* .toFile('output.dzi', function(err, info) {
|
* .toFile('output.dz', function(err, info) {
|
||||||
* // output.dzi is the Deep Zoom XML definition
|
* // output.dzi is the Deep Zoom XML definition
|
||||||
* // output_files contains 512x512 tiles grouped by zoom level
|
* // output_files contains 512x512 tiles grouped by zoom level
|
||||||
* });
|
* });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user