Commit 6e7c5349 authored by Stefano Sabatini's avatar Stefano Sabatini

doc/filters: add RGB geq example

parent 281fc4e9
...@@ -4111,6 +4111,12 @@ Generate a quick emboss effect: ...@@ -4111,6 +4111,12 @@ Generate a quick emboss effect:
@example @example
format=gray,geq=lum_expr='(p(X,Y)+(256-p(X-4,Y-4)))/2' format=gray,geq=lum_expr='(p(X,Y)+(256-p(X-4,Y-4)))/2'
@end example @end example
@item
Modify RGB components depending on pixel position:
@example
geq=r='X/W*r(X,Y)':g='(1-X/W)*g(X,Y)':b='(H-Y)/H*b(X,Y)'
@end example
@end itemize @end itemize
@section gradfun @section gradfun
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment