Fix block size in live writer compression

This commit is contained in:
2021-04-14 18:56:36 +02:00
parent d339d06c6f
commit 139504396f
+1 -1
View File
@@ -147,7 +147,7 @@ void JFH5Writer::open_file(const string& output_file, const uint32_t n_images)
// TODO: Enable compression.
// bshuf_register_h5filter();
// uint filter_prop[] = {PIXEL_N_BYTES, BSHUF_H5_COMPRESS_LZ4};
// uint filter_prop[] = {0, BSHUF_H5_COMPRESS_LZ4};
// if (H5Pset_filter(dcpl_id, BSHUF_H5FILTER, H5Z_FLAG_MANDATORY,
// 2, filter_prop) < 0) {
// throw runtime_error("Cannot set compression filter on dataset.");