@@ -298,6 +298,11 @@ describe('GeoTIFF', () => {
298298 await performTiffTests ( tiff , 539 , 448 , 15 , Uint16Array ) ;
299299 } ) ;
300300
301+ it ( 'should work on Zstandard compressed tiffs' , async ( ) => {
302+ const tiff = await GeoTIFF . fromSource ( createSource ( 'zstd.tiff' ) ) ;
303+ await performTiffTests ( tiff , 539 , 448 , 15 , Uint16Array ) ;
304+ } ) ;
305+
301306 it ( 'should work on Float32 and LERC compressed tiffs' , async ( ) => {
302307 const tiff = await GeoTIFF . fromSource ( createSource ( 'float32lerc.tiff' ) ) ;
303308 await performTiffTests ( tiff , 539 , 448 , 15 , Float32Array ) ;
@@ -318,6 +323,11 @@ describe('GeoTIFF', () => {
318323 await performTiffTests ( tiff , 539 , 448 , 15 , Float32Array ) ;
319324 } ) ;
320325
326+ it ( 'should work on Float32 and Zstandard compressed tiffs' , async ( ) => {
327+ const tiff = await GeoTIFF . fromSource ( createSource ( 'float32zstd.tiff' ) ) ;
328+ await performTiffTests ( tiff , 539 , 448 , 15 , Float32Array ) ;
329+ } ) ;
330+
321331 it ( 'should work with worker pool' , async ( ) => {
322332 const testPool = new Pool ( ) ;
323333 const tiff = await GeoTIFF . fromSource ( createSource ( 'nasa_raster.tiff' ) ) ;
0 commit comments