Skip to content

Commit

Permalink
Fix mistakes with the description of page rotation in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yakovypg committed Jul 28, 2023
1 parent 04ceb41 commit e8288e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ the end of the range).
commas. These items mean the page numbers through which the page order is determined.
- The *rotation* should be represented as two elements separated by the ':' symbol. The first
element means the set of comma-separated page numbers (that can be represented either as a
single number or as range) and the second element means the angle to which this page should
single number or as range) and the second element means the angle to which this pages should
be rotated.
- The *cropping* should be represented as two elements separated by the ':' symbol. The first
element means the set of comma-separated page numbers (that can be represented either as a
Expand Down Expand Up @@ -426,11 +426,11 @@ to specify the rotations (the page number and the angle by which you want to rot
specified page) using the -r parameter. [Here](#parameters-parsing) you can read about the
format of the input parameters.

For example, with this command you will rotate the first page 90 degrees and the fifth page
180 degrees.
For example, with this command you will rotate the first and second pages by 90 degrees, and
the fifth page by 180 degrees.

```
ypdf rotate -i inputPath.pdf -o outputPath.pdf -r 1,5:90
ypdf rotate -i inputPath.pdf -o outputPath.pdf -r 1-2:90 -r 5:180
```

### Crop PDF document pages
Expand Down

0 comments on commit e8288e9

Please sign in to comment.