Docs: change Deep Zoom file extension for libvips v8.4.2+

This commit is contained in:
Lovell Fuller 2016-11-02 17:15:17 +00:00
parent 8717ecc429
commit 4af702ee11
2 changed files with 2 additions and 2 deletions

View File

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

View File

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