<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Yes, that's lossless. I was just offering a potential explanation for the issue you had with JPEG2000.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Laurentiu</div><div style="font-family:Arial;"><br></div><div>On Thu, Nov 9, 2023, at 14:40, Naima Dambrine wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Hi Laurentiu,<br></div><div><br></div><div>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.<br></div><div>Please, tell me if it is correct or not.<br></div><div><br></div><div>Naïma<br></div></div><div><br></div><div class="qt-gmail_quote"><div dir="ltr" class="qt-gmail_attr">Le mer. 8 nov. 2023 à 15:41, Laurențiu Nicola <<a href="mailto:lnicola@dend.ro">lnicola@dend.ro</a>> a écrit :<br></div><blockquote class="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div class="qt-msg8041107974985274482"><div><u></u><br></div><div><div style="font-family:Arial;">Hi Naïma,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">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.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Laurentiu<br></div><div style="font-family:Arial;"><br></div></div></div></blockquote></div></blockquote></body></html>