doc/filters: add quick emboss example
authorPaul B Mahol <onemda@gmail.com>
Thu, 11 Apr 2013 18:27:31 +0000 (18:27 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 12 Apr 2013 09:47:41 +0000 (09:47 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi

index 6b4f553..cf3a3f0 100644 (file)
@@ -3388,6 +3388,12 @@ Generate a fancy enigmatic moving light:
 @example
 nullsrc=s=256x256,geq=random(1)/hypot(X-cos(N*0.07)*W/2-W/2\,Y-sin(N*0.09)*H/2-H/2)^2*1000000*sin(N*0.02):128:128
 @end example
+
+@item
+Generate a quick emboss effect:
+@example
+format=gray,geq=lum_expr='(p(X,Y)+(256-p(X-4,Y-4)))/2'
+@end example
 @end itemize
 
 @section gradfun