<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Starting with a tiff hillshade 10,812 x 10,812 8-bit unsigned int, 1
band , then exporting <br>
<br>
geopkg, default settings - 32,136K bytes<br>
geopkg, manually setting TILE_FORMAT = PNG - 80,572K bytes<br>
gtiff, default no compression - 114,287K bytes<br>
gtiff, high compression (DEFLATE, predictor = 2) - 86,816K bytes<br>
<br>
The default is still lossy as expected as the issue has not been
resolved, but it is possible to override the defaults by providing
the TILE_FORMAT = PNG options.<br>
<br>
<img src="cid:part1.8lcXvlgz.5rC59o0f@stripfamily.net" alt=""
class=""><br>
<br>
On 9/22/2022 10:36 PM, Nicolas Cadieux wrote:
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Hi,
<div><br>
<div>I would test but it looks like the issue has not been
fixed.<br>
<br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux"
class="moz-txt-link-freetext" moz-do-not-send="true">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">Le 22 sept. 2022 à 23:36, David
Strip <a class="moz-txt-link-rfc2396E"
href="mailto:qgis-user@stripfamily.net"
moz-do-not-send="true"><qgis-user@stripfamily.net></a>
a écrit :<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div class="moz-cite-prefix">On 9/22/2022 7:38 PM, Nicolas
Cadieux wrote:<br>
</div>
<blockquote type="cite"
cite="mid:74E4036A-43B7-4587-BC55-3EDD7A44F3DF@gmail.com">I
would not store raster in a geopackage unless it’s just
a pretty picture. The default compression for that
format is not lossless. I would just save as a .tiff. </blockquote>
If I use Properties->Export and export to a geopkg and
add TILE_FORMAT to PNG, do I get a lossless export?<br>
(I saw this option in<a moz-do-not-send="true"
href="https://github.com/qgis/QGIS/issues/40425"> issue
40425</a> that you submitted back in 12/20.)<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>