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 (68 downloads)
EPEL 6 i386 (2)*, x86_64 (2)* EPEL 6 (0 downloads)
EPEL 7 x86_64 (4)* EPEL 7 (84 downloads)
EPEL 8 aarch64 (2)*, x86_64 (4)* EPEL 8 (79 downloads)
Fedora 38 aarch64 (2)*, s390x (2)*, x86_64 (4)* Fedora 38 (0 downloads)
Fedora 39 aarch64 (3)*, s390x (2)*, x86_64 (2)* Fedora 39 (42 downloads)
Fedora 40 aarch64 (0)*, s390x (0)*, x86_64 (0)* Fedora 40 (28 downloads)
Fedora 41 aarch64 (0)*, s390x (0)*, x86_64 (0)* Fedora 41 (6 downloads)
Fedora eln aarch64 (3)*, i386 (2)*, s390x (2)*, x86_64 (3)* Fedora eln (74 downloads)
Fedora rawhide aarch64 (2)*, s390x (2)*, x86_64 (2)* Fedora rawhide (79 downloads)
Mageia cauldron aarch64 (2)*, i686 (0)*, x86_64 (2)* Mageia cauldron (83 downloads)
openSUSE Tumbleweed aarch64 (2)*, i586 (2)*, x86_64 (2)* openSUSE Tumbleweed (89 downloads)

* Total number of downloaded packages.