Hello all-

I have a need to expand a 1 band palette tif file into a 3 band (rgb) tif file. 
 I have found that gdal_translate -expand rgb will do this from the command 
line, but I was wondering if there was some way to do this within C# using the 
GDAL bindings?  I notice there is a ColorTable object and PaletteInterpretation 
object, but I haven't figured out yet (or seen anything online) about how to 
use these to expand the image.

Can anyone help?

Thanks,
Amanda

Amanda M. Henneke


 
When One tugs at a single thing in Nature, he finds it attached to the rest of 
the world. -John Muir
  Please consider the environment before printing this e-mail.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to