Convert 3 band RGB image to 1 band indexed color image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Convert 3 band RGB image to 1 band indexed color image

Paulo Pires
Hello

Is it possible to convert 3 band RGB image to 1 band indexed color image with gdal command line?

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Convert 3 band RGB image to 1 band indexed color image

Paulo Pires
Found ;)

gdal_translate -of VRT tif vrt

Then rgb2pct.py

Thanks

Loading...