Skip to content

Commit 674e469

Browse files
committedFeb 17, 2025
fix getTilesOrStrip return type
1 parent 890d7e3 commit 674e469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/geotiffimage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class GeoTIFFImage {
360360
* @param {import("./geotiff").Pool|import("./geotiff").BaseDecoder} poolOrDecoder the decoder or decoder pool
361361
* @param {AbortSignal} [signal] An AbortSignal that may be signalled if the request is
362362
* to be aborted
363-
* @returns {Promise.<ArrayBuffer>}
363+
* @returns {Promise.<{x: number, y: number, sample: number, data: ArrayBuffer}>} the decoded strip or tile
364364
*/
365365
async getTileOrStrip(x, y, sample, poolOrDecoder, signal) {
366366
const numTilesPerRow = Math.ceil(this.getWidth() / this.getTileWidth());

0 commit comments

Comments
 (0)
Please sign in to comment.