I'm trying to convert all non-transparent pixels of an image to white using the geq filter in ffmpeg:
ffmpeg -y -i in.png -vf "format=rgba,geq='r=if(lt(alpha(X,Y),10),255):g=if(lt(alpha(X,Y),10),255):b=if(lt(alpha(X,Y),10),255):a=alpha(X,Y)'" x.png
But ffmpeg is giving me black pixels instead of white. Any ideas what is going on?
in.png:
out.png: