Skip to content

Commit

Permalink
Merge pull request #1874 from Mailaender/ocx-default-compression
Browse files Browse the repository at this point in the history
Lower the default compression level for .ocb files
  • Loading branch information
eselmeister authored Sep 16, 2024
2 parents 214deb4 + 123b4b9 commit 0ffcf8f
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 0ffcf8f

Please sign in to comment.