Update
This commit is contained in:
parent
a06181b83c
commit
9cf471a1fa
16
commandes.md
16
commandes.md
@ -4,6 +4,7 @@ PDF
|
||||
|
||||
[pdftk](https://doc.ubuntu-fr.org/pdftk)
|
||||
|
||||
* img > pdf: `convert *.jpg output.pdf`
|
||||
* concat: `pdftk *.pdf cat output tous.pdf`
|
||||
* deconcat: `pdftk input.pdf burst`
|
||||
* deconcat avec prefix: `pdftk input.pdf burst output page_no%d.pdf`
|
||||
@ -20,12 +21,23 @@ PDF
|
||||
```
|
||||
pdftk input.pdf cat 6 2-5 7-9 output sortie.pdf
|
||||
```
|
||||
|
||||
* Compression (pour impression) :
|
||||
```
|
||||
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sPAPERSIZE=a4 -dFIXEDMEDIA -dPDFFitPage -sOutputFile=output.pdf input.pdf
|
||||
```
|
||||
|
||||
Images
|
||||
------
|
||||
- Une image
|
||||
```
|
||||
convert -resize 50% image.jpg image.jpg`
|
||||
```
|
||||
|
||||
`convert -resize 50% image.jpg image.jpg`
|
||||
- En batch
|
||||
```
|
||||
mkdir tmp
|
||||
for i in *.JPG ; do convert -resize 1500 "$i" "tmp/$i" ; done
|
||||
```
|
||||
|
||||
|
||||
Pandoc
|
||||
|
Loading…
Reference in New Issue
Block a user