Re: [gdal-dev] RasterIO support for zlib / deflate compression?

2018-06-03 Thread bradh
Even, It is not my compression, and although it isn't formalised yet, I think its probably too late to change. I'll take it back to the NTB in any case. The specific case is for "good enough" compression of floating point data without (further) loss. Thanks for the CPLZLibDeflate() helper recomm

Re: [gdal-dev] RasterIO support for zlib / deflate compression?

2018-06-03 Thread Even Rouault
Brad, > I've been looking at how much work it might take to implement a new NITF > compression value (IC=CC and IC=MC) which is basically just ZLIB DEFLATE > encoded blocks. Is it your own codec or something already standardized in NITF ? If the former, I'd suggest that you consider ZStandard [1]

[gdal-dev] RasterIO support for zlib / deflate compression?

2018-06-03 Thread bradh
I've been looking at how much work it might take to implement a new NITF compression value (IC=CC and IC=MC) which is basically just ZLIB DEFLATE encoded blocks. I'm mostly following the pattern used for JPEG, and its down to the part where I just need to do the compression: int NITFWriteZLIB