Skip to content

Commit

Permalink
compress-pdf: Don't preserve annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed Jan 2, 2024
1 parent ae443a2 commit 7a4cf02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/compress-pdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE \
-dColorImageResolution=300 -dColorImageDownsampleType=/Bicubic \
-dPreserveAnnots=false \
-dQUIET -dBATCH -sOutputFile="$2" "$1"

du -sh "$@"

0 comments on commit 7a4cf02

Please sign in to comment.