Thursday, October 31, 2024

[new] graphics/lerc

hi,

here's a port for https://esri.github.io/lerc/:

LERC is an open-source image or raster format which supports rapid
encoding and decoding for any pixel type (not just RGB or Byte).
Users set the maximum compression error per pixel while encoding, so
the precision of the original input image is preserved (within user
defined error bounds).

it's an alternative compression format for tiff, so graphics/tiff can
detect it and make use of it.

even if it comes from ESRI (which is the microsoft of geospatial), its
source is already bundled in gdal
(https://github.com/OSGeo/gdal/tree/master/third_party/LercLib) and
having it as a separate port would allow enabling support in tiff & gdal
ecosystem, see the various LERC* options in
https://gdal.org/en/latest/drivers/raster/gtiff.html and the build
support in
https://gdal.org/en/latest/development/building_from_source.html#lerc

feedback and oks welcome.

Landry

No comments:

Post a Comment