[gdal-dev] GeoTIFF NoData

2018-02-05 Thread Julierme Pinheiro
Hi all, Sorry if my question has been discussed here before. I followed 1 Answer/Option 2 of this post to convert an image (GeoTIFF) external pixels RGB(255,255,255) to NoData. So, I used t

Re: [gdal-dev] RGB to PALETTE conversion

2018-02-05 Thread Chris Smemoe
Paulo, Are you trying to convert a file with multiple bands (RGB or RGBA) to a file with a single band and a color palette? One possible solution showing how to do this using GDAL is shown on Stack Exchange at the following location: https://gis.stackexchange.com/questions/246045/export-geotiff-

Re: [gdal-dev] RGB to PALETTE conversion

2018-02-05 Thread jratike80
Paulo Pires wrote > theres any help, please? > > RGB to Palette... > CMYK to Palette... > > Thanks Have you tried http://www.gdal.org/rgb2pct.html? -Jukka Rahkonen- -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-d

Re: [gdal-dev] RGB to PALETTE conversion

2018-02-05 Thread Paulo Pires
Thanks Chris Smemoe and jratike80, I found a solution, thanks to you both. I create my palette image in photoshop, then with gdal, I create my VRT fron that image and then, all my next images with the same colors with rgb2pct... Like a charm. If you know best approach, please let-me know. Thank