Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

PDF Reducer

4 sites Security covered Drupal 11 · not 10 PDF ecosystem
View on drupal.org

This module automatically reduces the file size of uploaded PDFs to improve download times and reduce disk and network usage. It uses the Ghostscript library to compress PDFs to a good quality for most uses, ensuring the original file is kept if compression fails.

This module reduces the size of uploaded PDF files, to reduce the download time (UX) and the disk and network usage (sustainability). It's especially useful for mobile devices with low bandwidth.
This also improves the perceived performance of users' devices, thus reduces the incentive to change one's device, which is usually considered as the biggest contribution to the ecological footprint of the web.

It's one of the recommendations of the french General Ecodesign Guidelines for Digital Services (RGESN 5.7).
See also in french: https://www.greenit.fr/2013/03/06/eco-conception-web-optimiser-les-pdf/

Features

When a PDF is uploaded to a file field (also works in rich text editor through the Editor file module), this module uses a Ghostscript PHP library to reduce the PDF file to the "ebook" quality level, which is usually good enough.
In some cases, the compression fails or the resulting file is bigger. If so, it's not kept and the original file remains.
Otherwise, a message is shown to the uploading user to inform that the file has been reduced. In that case the original bigger file is not kept on the server, it's replaced with the compressed one.

Post-Installation

No configuration needed. All file fields will automatically get this feature as soon as you enable the module.

Additional Requirements

Be aware that Ghostscript has to be executable on your server for this to work.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2025
Latest release
4 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0 Stable 11 Apr 2, 2026
1.0.0-alpha1 Pre-release 11 Jan 17, 2025
1.0.x-dev Dev 11 Jan 14, 2025