« Linux tools PDF » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 21 : | Ligne 21 : | ||
source https://debian-facile.org/doc:editeurs:pdftk | source https://debian-facile.org/doc:editeurs:pdftk | ||
[[Catégorie:Linux]] | [[Catégorie:Linux]] [[Catégorie:Tools]] | ||
Version du 29 mars 2025 à 17:20
Compresser PDF (ghostscript)
gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOUTPUTFILE=fichier_outout.pdf -f cv.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fichier_outout_prepress.pdf 2021_09_14_regroupement_credits.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fichier_outout_printer.pdf cv2.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fichier_outout_ebook.pdf 2021_09_14_regroupement_credits.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fichier_outout_screen.pdf 2021_09_14_regroupement_credits.pdf
Convert img to pdf (img2pdf)
sudo apt-get install img2pdf
img2pdf test.png -o outcome.pdf
Fusionner pdf (pdftk)
sudo apt-get install pdftk pdftk fichier1.pdf fichier2.pdf cat output fichier3.pdf pdftk mon-document.pdf output mon-document.comprimé.pdf compress