From 6722f35dd33d8833ea021355aa97abdace3fe856 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 15 Dec 2012 17:08:18 +0100 Subject: [PATCH] doc/filters: add basic crop examples Use it to show difference between shorthand and named parameters. --- doc/filters.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 7e3c7b9aff..794fd47345 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1612,6 +1612,17 @@ for @var{y} may depend on @var{x}. @subsection Examples @itemize +@item +Crop area with size 100x100 at position (12,34). +@example +crop=100:100:12:34 +@end example + +Using named options, the example above becomes: +@example +crop=w=100:h=100:x=12:y=34 +@end example + @item Crop the central input area with size 100x100: @example