Différences entre les versions de « Format PDF »

De dieudo.fr
Aller à la navigation Aller à la recherche
(Page créée avec « ==Réduire le poids des images dans un fichier PDF== * https://askubuntu.com/questions/207447/how-to-reduce-the-size-of-a-pdf-file '''Extrait :''' I was able to make a slight variation on your command successful using the -r300 option from @drN The -r option allows you to set the output resolution in the pdf as well as png. <code>gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default \ -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages \ -dC... »)
 
Ligne 33 : Ligne 33 :
== Autres pistes ==
== Autres pistes ==


* https://doc.ubuntu-fr.org/pdf
* https://framalibre.org/tags/pdf
*https://doc.ubuntu-fr.org/pdf


*
*

Version du 2 février 2023 à 18:24

Réduire le poids des images dans un fichier PDF

Extrait : I was able to make a slight variation on your command successful using the -r300 option from @drN The -r option allows you to set the output resolution in the pdf as well as png.

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default \
    -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages \
    -dCompressFonts=true -r150 -sOutputFile=output.pdf input.pdf

Créer un sommaire au format PDF

Au moment de l'enregistrement depuis un éditeur de texte

  1. Dans la boîte de dialogue Enregistrer sous , sélectionnez Options.
  2. Cochez la case Étiquettes de structure de document pour l’accessibilité , puis sélectionnez OK.

À partir d'un fichier PDF existant

Extrait :

In the case of the rust book you can use pdf.tocgen (Example:

python -m pdfxmeta -p 8 -a 1 ../The\ Rust\ Programming\ Language.pdf "Getting Started" > data.toml
python -m pdfxmeta -p 3 -a 2 ../The\ Rust\ Programming\ Language.pdf "Who Rust Is For" >> data.toml
python -m pdfxmeta -p 4 -a 3 ../The\ Rust\ Programming\ Language.pdf "Students" >> data.toml
python -m pdftocgen ../The\ Rust\ Programming\ Language.pdf <data.toml >data.toc
python -m pdftocio ../The\ Rust\ Programming\ Language.pdf <data.toc

Autres pistes