Skip to content

Commit 76b2a0d

Browse files
boesingMaximilian Bösing
authored andcommitted
Fixed README.md to provide proper information about how to remove a password from a file
1 parent b7b67d1 commit 76b2a0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ A PDF conversion and form utility based on pdftk.
2121
* Add background or overlay PDFs
2222
* Read out meta data about PDF and form fields
2323
* Set passwords and permissions
24+
* Remove passwords
2425

2526
## Requirements
2627

@@ -281,7 +282,7 @@ $pdf->fillForm(['name' => 'My Name'])
281282

282283
// Example: Remove password from a PDF
283284
$pdf = new Pdf;
284-
$pdf->addPage('/path/my.pdf', null, 'some**password')
285+
$pdf->addFile('/path/my.pdf', null, 'some**password')
285286
->saveAs('/path/new.pdf');
286287
```
287288

0 commit comments

Comments
 (0)