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.

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 aarch64 (0)*, x86_64 (0)* Centos stream (4 downloads)
Epel for CentOS 6 i386 (0)*, x86_64 (0)* Epel for CentOS 6 (1 downloads)
Epel for CentOS 7 aarch64 (0)*, x86_64 (0)* Epel for CentOS 7 (3 downloads)
Epel for CentOS 8 aarch64 (0)*, x86_64 (0)* Epel for CentOS 8 (2 downloads)
Fedora 32 aarch64 (0)*, x86_64 (0)* Fedora 32 (4 downloads)
Fedora 33 aarch64 (0)*, s390x (0)*, x86_64 (0)* Fedora 33 (6 downloads)
Fedora eln aarch64 (0)*, i386 (0)*, s390x (0)*, x86_64 (0)* Fedora eln (3 downloads)
Fedora rawhide aarch64 (0)*, s390x (0)*, x86_64 (0)* Fedora rawhide (2 downloads)
Mageia 7 x86_64 (0)* Mageia 7 (3 downloads)
Mageia cauldron aarch64 (0)*, i586 (0)*, x86_64 (0)* Mageia cauldron (3 downloads)
openSUSE Leap 15.1 aarch64 (0)*, x86_64 (0)* openSUSE Leap 15.1 (2 downloads)
openSUSE Leap 15.2 aarch64 (0)*, x86_64 (0)* openSUSE Leap 15.2 (3 downloads)
openSUSE Tumbleweed aarch64 (0)*, i586 (0)*, x86_64 (0)* openSUSE Tumbleweed (3 downloads)

* Total number of packages downloaded in the last seven days.