Skip to content

Commit

Permalink
Lower the default compression level.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Sep 16, 2024
1 parent 214deb4 commit 123b4b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ private Format() {
/*
* Chromatogram (*.ocb)
*/
public static final int CHROMATOGRAM_COMPRESSION_LEVEL = 9; // 0 - 9 => 0 no compression
public static final int CHROMATOGRAM_COMPRESSION_TYPE = ZipOutputStream.DEFLATED;
//
public static final String CHROMATOGRAM_VERSION_0701 = "0.7.0.1"; // Version 0.7.0, Release 1 (Nernst)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class PreferenceSupplier extends AbstractPreferenceSupplier implements IP
public static final String P_CHROMATOGRAM_VERSION_SAVE = "chromatogramVersionSave";
public static final String DEF_CHROMATOGRAM_VERSION_SAVE = Format.CHROMATOGRAM_VERSION_LATEST;
public static final String P_CHROMATOGRAM_COMPRESSION_LEVEL = "chromatogramCompressionLevel";
public static final int DEF_CHROMATOGRAM_COMPRESSION_LEVEL = Format.CHROMATOGRAM_COMPRESSION_LEVEL;
public static final int DEF_CHROMATOGRAM_COMPRESSION_LEVEL = 1; // compromise between file size and write speed
public static final String P_CHROMATGRAM_EXPORT_REFERENCES_SEPARATELY = "chromatogramExportReferencesSeparately";
public static final boolean DEF_CHROMATGRAM_EXPORT_REFERENCES_SEPARATELY = false;
public static final String P_CHROMATGRAM_EXPORT_REFERENCES_HEADER_FIELD = "chromatogramExportReferencesHeaderField";
Expand Down

0 comments on commit 123b4b9

Please sign in to comment.