Browse Source

doc/filters: add basic crop examples

Use it to show difference between shorthand and named parameters.
tags/n1.1
Stefano Sabatini 13 years ago
parent
commit
6722f35dd3
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      doc/filters.texi

+ 11
- 0
doc/filters.texi View File

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


Loading…
Cancel
Save