Page MenuHomePhabricator

Enable File compression
Closed, ResolvedPublic

Description

It should be possible to save and load compressed nrrd files (like e.g. pic.gz).

Event Timeline

After discussing this issue, we have decided to enable the compression mode by default for all image files in MITK. This includes for example following file extensions: MHD, NHDR, NRRD ..

However, for some files (e.g. HDR, NII) compression is not supported by ITK. Here we have to discuss if we want to support the import of compressed file format e.g. "nii.gz" (see T10783).

[4dc074]: Merge branch 'bug-10650-EnableFileCompression'

Merged commits:

2012-01-25 16:11:53 Diana Wald [27b0f0]
Use file compression if available

If compression is available for specific FileWriter (nrrd, nii,
mhd, hdr), file should be saved in its compressed form by default.

[71fc53]: Merge branch 'bug-10650-EnableFileCompression'

Merged commits:

2012-01-26 11:18:20 Diana Wald [7ef6ec]
COMP support raw files in its compressed form

since 27b0f006c2e934e78bafde7e1d49953510c080f7 we save each file in its
compressed form. The extension of compressed raw files changed to zraw. The
test will now support both versions .raw (uncompressed) and .zraw (compressed).