[gdal-dev] Nearest Neighbour resampling

Ian Elliott iaelliott at gmail.com
Thu Nov 20 10:43:50 EST 2008


Hi,

An error is consistently occurring when I use the nearest neighbour
technique to resample an 8-bit paletted image.

Please see this page for an example:
http://projects.exeter.ac.uk/msel/personnel/iae/gdal/
(The resampling error is shown in image c).

A possible solution I have discovered is to use 'Majority' resampling,
but this is not available in gdal.

Can anyone suggest why this is happening?

Thank you,

Ian


More information about the gdal-dev mailing list