[gdal-dev] GDALWarp API and paletted images

Thomas Sevaldrud thomas at silentwings.no
Tue Jun 9 03:48:08 PDT 2015


Hi,

I'm using the GDALWarp api from C++ to reproject and cut various input
images. In general this works very well for my purposes, except that for
paletted images I have to use NearestNeighbour resampling,

I would like to use Bilinear or higher order resampling, and wonder if
there is any way to expand a paletted image to true RGB during the warp
process, so I can use these resampling methods.

Alternatively, is there a way to do this conversion (from code) before the
warp without having to run through the entire image in memory?

- Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150609/677d19ab/attachment.html>


More information about the gdal-dev mailing list