I am having problems using the raster calculator. Some pixels of my GeoTIFF file have the value 255 on bands 1, 2 and 3. I want to replace this value with 0 on the three bands.
I tried with this formula but it does not look good:
("test@1" != 255)+("test@2" != 255)+("test@3" != 255) * "test"

You could try to apply this to each band separately maybe? 255 = 0
It is hard to test without sample data.
– MarcM May 24 '19 at 07:55