Commit 6722f35d authored by Stefano Sabatini's avatar Stefano Sabatini

doc/filters: add basic crop examples

Use it to show difference between shorthand and named parameters.
parent 55b81528
...@@ -1612,6 +1612,17 @@ for @var{y} may depend on @var{x}. ...@@ -1612,6 +1612,17 @@ for @var{y} may depend on @var{x}.
@subsection Examples @subsection Examples
@itemize @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 @item
Crop the central input area with size 100x100: Crop the central input area with size 100x100:
@example @example
......
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