[gdal-dev] How to decrease file size of colored raster bands?

Laurențiu Nicola lnicola at dend.ro
Thu Jun 1 11:21:28 PDT 2023


Hi,

Try saving the output into a new file. Those are "creation options".

Laurentiu

On Thu, Jun 1, 2023, at 20:34, afernandez wrote:
> Hello Laurentiu,
> The color palette is working fine. The issues seem to be caused by using UInt16 because I changed to GDT_Byte per your suggestion and everything is so much smoother (this was an oversight of mine as I recycled a snippet from somewhere and should have paid much closer attention to this detail). 
> As for compressing and using overviews (for future use), I'm having some difficulty implementing them but it's less urgent and will keep working at it.
> Thanks,
> Arturo
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230601/1f3dfa22/attachment.htm>


More information about the gdal-dev mailing list