doc/filters: add RGB geq example

pull/18/head
Stefano Sabatini 12 years ago
parent 281fc4e958
commit 6e7c534955
  1. 6
      doc/filters.texi

@ -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

Loading…
Cancel
Save