<div dir="auto">Not my area of expertise but my first suspect would be the alpha channel (the A in RGBA or transparency). JPEG doesn’t support an alpha channel. You might try png or jpeg 2000 as an alternative. </div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 21, 2021 at 2:12 AM Yury <<a href="mailto:yury.zammit@gmail.com">yury.zammit@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Hi, <div><br><div>I am using QGIS to try and compress hi-res drone imagery.  I am using GDAL tools, such as 'Clip Raster by Extent' .  In the command line parameters I am adding the following:</div></div><div><br></div><div>-co COMPRESS=JPEG -co TILED=YES --config GDAL_TIFF_INTERNAL_MASK YES.<br></div><div><br></div><div>The original image is RGBA.</div><div><br></div><div>Compression is significant (which is what I need) and visually there is not much of a difference.  However, when zooming further in (1:200), I noticed that some raster cells have turned white.  When inspecting, it appears that the compression is changing the data of one or more of the bands to nodata.  How can this be resolved?</div><div><br></div><div>I am using QGIS 3.10.8</div><div><br></div><div>Thanks</div><div><br></div><div>Yury Zammit</div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sent from a phone. Amazing! But possibly garbled.  

Sebastian Gutwein
Regenerative Design Group
1 Chevalier Ave Greenfield MA
<a href="mailto:Bas@rdgland.com">Bas@rdgland.com</a> 
(631) 241-1018</div>