Skip to content

Commit 96a8ed5

Browse files
committed
[tools-and-trick] Add conversion from JPG to PDF
1 parent 8852958 commit 96a8ed5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tools-and-tricks.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The last option for the 's_server' web server means "export all files in this di
4848

4949
The first line can also be substituted by valid certificates. For example, certificates generated by Let´s Encrypt, via https://zerossl.com/
5050

51-
# Image manipulation
51+
## Image manipulation
5252

5353
Manipulating images is easy with convert, a tool that comes with ImageMagick:
5454

@@ -82,4 +82,11 @@ convert img.jpg -rotate 90 img.jpg
8282
convert img.jpg -charcoal 3 img.jpg
8383
```
8484

85-
[More details on convert](https://imagemagick.org/script/convert.php).
85+
[More details on convert](https://imagemagick.org/script/convert.php).
86+
87+
88+
## Convert JPG to PDF
89+
90+
```
91+
img2pdf *.jpg --imgsize A4 --pagesize A4 --output doc.pdf
92+
```

0 commit comments

Comments
 (0)