LesSix, Ltm, Soleiade, Trois, Robots, Bureaucrates, Administrateurs d’interface, ltm, soleil, Modérateurs, Administrateurs, trois, Modificateurs de widgets
5 714
modifications
Ligne 8 : | Ligne 8 : | ||
==Réduire le poids des images dans un fichier PDF== | ==Réduire le poids des images dans un fichier PDF== | ||
=== Simple === | |||
* https://www.shellhacks.com/linux-compress-pdf-reduce-pdf-size/ | |||
'''Extrait'''<blockquote>Run the following command to compress and reduce the size of the <code>LARGE.pdf</code> file and save the result to the <code>SMALL.pdf</code> file:</blockquote> | |||
$ ps2pdf LARGE.pdf SMALL.pdf | |||
=== Détaillé === | |||
* https://askubuntu.com/questions/207447/how-to-reduce-the-size-of-a-pdf-file | * https://askubuntu.com/questions/207447/how-to-reduce-the-size-of-a-pdf-file | ||
'''Extrait | '''Extrait'''<blockquote>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.</blockquote> | ||
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 \ | <code>gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default \ | ||
-dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages \ | -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages \ |
modifications