<div><span class="gmail_quote">I want to change one particular colour in a set of 3-band tif tiles (basically change the colour used for no-data fields)<br><br>I have seen there is a gdal python contribution val_repl.py, but looking through the code this will replace the same value in every band in the file.
<br><br>I need to replace a value in three bands depending on a condition spanning the three bands, e.g if RGB == 255,0,0 then RGB = 120,60,60 or some such.<br><br>Any good idea?<br></span></div><br>Ludwig<br>