cygn/pdfshrink

Project ID: 37980

Description

pdfshrink

Usage: pdfshrink [-sepP | --screen --ebook --printer --prepress] infile [outfile]

A simple script to reduce the size of a pdf file, by optimizations offered by ghostscript. Four different levels are available, which will mainly affect the dpi of included images:

  • screen 72 dpi
  • ebook 150 dpi
  • printer: 300 dpi
  • prepress 300 dpi + colors

It doesn't give smaller files in every case, but often does, even when there are no images nor graphics. If an image appears several times in the original file the reduction can be quite substantial. The default is screen (worst quality, best reduction). Metadata is kept and it produces a PDF1.4 compatible file. If outfile is not specified, it will be infile.shrink.pdf.

Installation Instructions

Enable this repo, then dnf install pdfshrink.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Centos-stream 8 aarch64 (2)*, x86_64 (2)* Centos-stream 8 (43 downloads)
EPEL 6 i386 (2)*, x86_64 (2)* EPEL 6 (58 downloads)
EPEL 7 x86_64 (4)* EPEL 7 (57 downloads)
EPEL 8 aarch64 (2)*, x86_64 (4)* EPEL 8 (47 downloads)
Fedora 37 aarch64 (2)*, armhfp (0)*, s390x (2)*, x86_64 (4)* Fedora 37 (0 downloads)
Fedora 38 aarch64 (2)*, s390x (2)*, x86_64 (4)* Fedora 38 (18 downloads)
Fedora 39 aarch64 (3)*, s390x (2)*, x86_64 (2)* Fedora 39 (14 downloads)
Fedora 40 aarch64 (0)*, s390x (0)*, x86_64 (0)* Fedora 40 (3 downloads)
Fedora eln aarch64 (3)*, i386 (2)*, s390x (2)*, x86_64 (3)* Fedora eln (51 downloads)
Fedora rawhide aarch64 (2)*, s390x (2)*, x86_64 (2)* Fedora rawhide (56 downloads)
Mageia cauldron aarch64 (2)*, i586 (4)*, x86_64 (2)* Mageia cauldron (59 downloads)
openSUSE Tumbleweed aarch64 (2)*, i586 (2)*, x86_64 (2)* openSUSE Tumbleweed (66 downloads)

* Total number of downloaded packages.