diff --git a/img/array-sample-format.tif b/img/array-sample-format.tif new file mode 100644 index 0000000..b626596 Binary files /dev/null and b/img/array-sample-format.tif differ diff --git a/src/__tests__/decode.test.ts b/src/__tests__/decode.test.ts index b6fbd59..7e1481a 100644 --- a/src/__tests__/decode.test.ts +++ b/src/__tests__/decode.test.ts @@ -157,6 +157,14 @@ const files: TiffFile[] = [ components: 1, alpha: false, }, + { + name: "array-sample-format.tif", + width: 2, + height: 2, + bitsPerSample: 32, + components: 3, + alpha: false, + } ]; const cases = files.map( (file) => [file.name, file, readImage(file.name)] as const,