I am attempting to set the value of a pixel based on its current value. I am using the Raster Calculator in Quantum GIS dev 1.7 trunk.
For example, if the value is 0, I want to set it to 255.
Based on an example that I found, something like this should work, but it doesn't.
myRaster@1=0 255
The RasterCalc plugin appears to use a function syntax, but that doesn't appear to be valid either
eq( myRaster@1, 0, 255)
Any suggestions? Thanks.