diff --git a/src/main/java/org/janelia/saalfeldlab/n5/zarr/ZarrCompressor.java b/src/main/java/org/janelia/saalfeldlab/n5/zarr/ZarrCompressor.java index c51a613..704fe6d 100644 --- a/src/main/java/org/janelia/saalfeldlab/n5/zarr/ZarrCompressor.java +++ b/src/main/java/org/janelia/saalfeldlab/n5/zarr/ZarrCompressor.java @@ -77,6 +77,8 @@ public static ZarrCompressor fromCompression(final Compression compression) { return useZlib != null && useZlib ? new Zlib((GzipCompression)compression) : new Gzip((GzipCompression)compression); } else if (compression instanceof Bzip2Compression) { return new Bz2((Bzip2Compression)compression); + } else if (compression instanceof ZstandardCompression) { + return new Zstandard((ZstandardCompression)compression); } else { return new Raw(); }