<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"><span style="background-color: rgb(255,255,255);">Hi Even,</span></div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"><span style="background-color: rgb(255,255,255);"> </span></div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"><span style="background-color: rgb(255,255,255);">thanks for your response.</span></div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"><span style="background-color: rgb(255,255,255);"> </span></div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);">I just tried it with WEBP, but I'm getting the following error message:</div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"> </div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);">Warning 6: 'WEBP' is an unexpected value for COMPRESS creation option of type string-select.<br>Warning 6: driver GTiff does not support creation option WEBP_LEVEL<br>ERROR 1: Cannot create TIFF file due to missing codec for WEBP.</div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"> </div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);">The docs says: Requires libwebp >= 0.1.4</div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"> </div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);">I'm using the compiled binaries from <a href="https://gisinternals.com/" target="_blank">gisinternals.com</a> (v.3.9.3) and it seems the webp isn't supported with it.</div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);">Do I need to compile the dependency myself and simply copy it into the <code>bin</code> folder?<br>And how do you compile it? I'm new to this topic—sorry about that.</div>
<div style="font-family: verdana;font-size: 12.0px;color: rgb(0,0,0);"> </div>
<div id="sub-body-container" style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0.0px 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0.0px 0.0px 10.0px;">
<div><strong>Gesendet: </strong>Dienstag, 27. Mai 2025 um 21:43</div>
<div><strong>Von: </strong>"Even Rouault" <even.rouault@spatialys.com></div>
<div><strong>An: </strong>"carsten.lockenkoetter@web.de" <carsten.lockenkoetter@web.de>, "gdal-dev@lists.osgeo.org" <gdal-dev@lists.osgeo.org></div>
<div><strong>Betreff: </strong>Re: [gdal-dev] Black artifacts with JPEG compression</div>
</div>
<br>
<blockquote>
<div class="elementToProof" style="margin-top: 1.0em;margin-bottom: 1.0em;font-family: Aptos , Aptos_EmbeddedFont , Aptos_MSFontService , Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);">Am I overlooking something in my process?</div>
</blockquote>
No, you're just hitting a fundamental limitation of JPEG compresson<br>
<blockquote>
<div class="elementToProof" style="margin-top: 1.0em;margin-bottom: 1.0em;font-family: Aptos , Aptos_EmbeddedFont , Aptos_MSFontService , Calibri , Helvetica , sans-serif;font-size: 12.0pt;color: rgb(0,0,0);">Do you have any ideas on how I can get rid of the artifacts while still keeping disk usage low?</div>
</blockquote>
<p>Use lossy WEBP compression that fully supports transparency.</p>
<pre class="moz-signature">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>