[gdal-dev] Fwd: oblique cuts on a raster using python GDAL
Laurențiu Nicola
lnicola at dend.ro
Thu Nov 9 04:42:45 PST 2023
Yes, that's lossless. I was just offering a potential explanation for the issue you had with JPEG2000.
Laurentiu
On Thu, Nov 9, 2023, at 14:40, Naima Dambrine wrote:
> Hi Laurentiu,
>
> Thank you, I think I'm not concerned because I use GTiff format as output, then I specify a deflate compression with predictor=2 and zlevel=9.
> Please, tell me if it is correct or not.
>
> Naïma
>
> Le mer. 8 nov. 2023 à 15:41, Laurențiu Nicola <lnicola at dend.ro> a écrit :
>> __
>> Hi Naïma,
>>
>> I'm a bit late to the party, but note that the JP2OpenJPEG produces lossy output by default. You need to pass REVERSIBLE=YES and QUALITY=100 as creation options to make it use lossless compression.
>>
>> Laurentiu
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231109/0a53de0d/attachment-0001.htm>
More information about the gdal-dev
mailing list