Nikos, The easiest way to create your own palette is described in the documentation of the script[1]. You can use any raster file with a palette as a source of palette. In the example in the script's documentation, a dummy VRT file with a color palette is created and used.
[1]: http://www.gdal.org/rgb2pct.html On Tue, Jan 10, 2012 at 11:44 PM, Nikolaos Hatzopoulos <nhat...@gmail.com>wrote: > How you can create your own pallet for the tool rgb2pct from existing rgb > image. > What kind of technics are existing in order to define such a pallete? > > --Nikos > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev