<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi,<br>
</p>
<p>Feature Request was made to disable JPEG lossy compression on
Byte data type when exporting raster to a geopackage. This is not
technically a bug report as this is the default mode for the
driver.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/issues/40425">https://github.com/qgis/QGIS/issues/40425</a><br>
</p>
<div class="moz-cite-prefix">On 2020-12-01 9:56 a.m., Alberto
Vavassori wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR0602MB3716D630B27ED35164BB2DE7EEF40@AM0PR0602MB3716.eurprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">Hello
everybody. I have an issue regarding the Geopackage format.
I have tried to import a singleband raster file (it
represents the land cover, thus every pixel has a single
integer value corresponding to the land cover class), but
this operation seems to modify the raster characteristics:
the raster becomes a 4-bands raster and the pixels values
change accordingly (basically, the original raster is saved
in the Geopackage as an RGB image). It seems to be a bug of
QGIS. I have also tried to use GDAL translate through the
processing toolbox of QGIS to convert the TIFF file to a
Geopackage file, but the result is the same.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">Has
anybody faced this problem? May anybody suggest a way to
work this problem out?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">Thank
you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">Alberto<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></pre>
</body>
</html>