Re: [gdal-dev] Fwd: oblique cuts on a raster using python GDAL

2023-11-09 Thread Laurențiu Nicola via gdal-dev
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 compre

Re: [gdal-dev] Fwd: oblique cuts on a raster using python GDAL

2023-11-09 Thread Naima Dambrine via gdal-dev
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 a écrit : > Hi Naïma, > > I'm a bit late to

Re: [gdal-dev] Fwd: oblique cuts on a raster using python GDAL

2023-11-08 Thread Laurențiu Nicola via gdal-dev
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 ___ gdal-dev mailing list gdal-de

[gdal-dev] Fwd: oblique cuts on a raster using python GDAL

2023-11-08 Thread Naima Dambrine via gdal-dev
-- Forwarded message - De : Naima Dambrine Date: mar. 7 nov. 2023 à 09:16 Subject: Re: [gdal-dev] oblique cuts on a raster using python GDAL To: Javier Jimenez Shaw Hi, Thank you very much for your help, it let me try and try again, and you are right when you say that it is pos