From 29d3aaa86e2ea52703d43bf302b82934cb997a91 Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Mon, 30 Sep 2024 10:06:46 -0400 Subject: [PATCH] default compression GZIP(1), 5x faster resaving --- .../mvrecon/fiji/plugin/resave/ParametersResaveN5Api.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/preibisch/mvrecon/fiji/plugin/resave/ParametersResaveN5Api.java b/src/main/java/net/preibisch/mvrecon/fiji/plugin/resave/ParametersResaveN5Api.java index 15169007..a2ebba1e 100644 --- a/src/main/java/net/preibisch/mvrecon/fiji/plugin/resave/ParametersResaveN5Api.java +++ b/src/main/java/net/preibisch/mvrecon/fiji/plugin/resave/ParametersResaveN5Api.java @@ -200,7 +200,7 @@ public static ParametersResaveN5Api getParamtersIJ( if ( compression == 0 ) // "Bzip2", "Gzip", "Lz4", "Raw (no compression)", "Xz" n5params.compression = new Bzip2Compression(); else if ( compression == 1 ) - n5params.compression = new GzipCompression(); + n5params.compression = new GzipCompression( 1 ); else if ( compression == 2 ) n5params.compression = new Lz4Compression(); else if ( compression == 4 )