Skip to content

Instantly share code, notes, and snippets.

@maximepeschard
Last active June 4, 2017 21:19
Show Gist options
  • Save maximepeschard/f4717e941ae5825d5297c10ac97ed40b to your computer and use it in GitHub Desktop.
Save maximepeschard/f4717e941ae5825d5297c10ac97ed40b to your computer and use it in GitHub Desktop.

Si le fichier à réduire est input.pdf et est dans Documents :

  1. Tu ouvres Terminal.app (Applications > Utilitaires > Terminal) et tu tapes cd Documents puis entrée
  2. Tu tapes la commande suivante puis entrée :
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=output.pdf input.pdf
  1. Normalement output.pdf est +léger que input.pdf :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment