Skip to content

Commit 4af702e

Browse files
committed
Docs: change Deep Zoom file extension for libvips v8.4.2+
1 parent 8717ecc commit 4af702e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/api-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ sharp('input.tiff')
161161
.tile({
162162
size: 512
163163
})
164-
.toFile('output.dzi', function(err, info) {
164+
.toFile('output.dz', function(err, info) {
165165
// output.dzi is the Deep Zoom XML definition
166166
// output_files contains 512x512 tiles grouped by zoom level
167167
});

lib/output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const toFormat = function toFormat (format, options) {
237237
* .tile({
238238
* size: 512
239239
* })
240-
* .toFile('output.dzi', function(err, info) {
240+
* .toFile('output.dz', function(err, info) {
241241
* // output.dzi is the Deep Zoom XML definition
242242
* // output_files contains 512x512 tiles grouped by zoom level
243243
* });

0 commit comments

Comments
 (0)