<div dir="ltr">Hi,<div><br></div><div>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,</div><div><br></div><div>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.</div><div><br></div><div>Alternatively, is there a way to do this conversion (from code) before the warp without having to run through the entire image in memory?</div><div><br></div><div>- Thomas</div><div><br></div></div>