PHPackages                             christophlehmann/imageoptimizer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. christophlehmann/imageoptimizer

ActiveTypo3-cms-extension[Image &amp; Media](/categories/media)

christophlehmann/imageoptimizer
===============================

Optimize uploaded/processed images with binaries of your choice

6.0.0(4mo ago)47523.7k↓52.2%21GPL-2.0-or-laterPHPCI passing

Since Mar 10Pushed 4d ago4 watchersCompare

[ Source](https://github.com/christophlehmann/imageoptimizer)[ Packagist](https://packagist.org/packages/christophlehmann/imageoptimizer)[ RSS](/packages/christophlehmann-imageoptimizer/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (21)Versions (29)Used By (0)

TYPO3 ImageOptimizer Extension
==============================

[](#typo3-imageoptimizer-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/58c24c4435549f985769668020beedd08d88ede080822cdd0a3ab4781a4e5fe2/68747470733a2f2f706f7365722e707567782e6f72672f6368726973746f70686c65686d616e6e2f696d6167656f7074696d697a65722f762f737461626c65)](https://packagist.org/packages/christophlehmann/imageoptimizer)[![Total Downloads](https://camo.githubusercontent.com/a06aabcdcf8f48c1ee22eae01494ee73ad8e656e658425f002e8f3f0524fee57/68747470733a2f2f706f7365722e707567782e6f72672f6368726973746f70686c65686d616e6e2f696d6167656f7074696d697a65722f646f776e6c6f616473)](https://packagist.org/packages/christophlehmann/imageoptimizer)[![License](https://camo.githubusercontent.com/c56844e1992f63e157be4c5c2559d031cc5c6f12c9b934f299bd985d9fd9d122/68747470733a2f2f706f7365722e707567782e6f72672f6368726973746f70686c65686d616e6e2f696d6167656f7074696d697a65722f6c6963656e7365)](https://packagist.org/packages/christophlehmann/imageoptimizer)[![TYPO3](https://camo.githubusercontent.com/382ff45949671f1b9c4431781f1961eb04a15376fe22523e03a9893c6d4ec278/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31342d6f72616e67652e737667)](https://get.typo3.org/version/14)

Lossless image optimization. Process jpg/png/gif/svg/webp images with binaries and parameters of your choice.

Note: JPG and PNG were yesterday. If you want to serve images in new formats like avif and webp including auto detection and asynchronous generation, then [imgproxy](https://github.com/christophlehmann/imgproxy) may fit your needs. #webvitals

Features
--------

[](#features)

- Optimize images on upload or after processing (files in `fileadmin/_processed_/`)
- Binaries, paths and their parameters are configurable

Installation
------------

[](#installation)

Debian/Ubuntu: `apt-get install optipng jpegoptim libjpeg-turbo-progs gifsicle`

svgo is installable via NPM `npm install -g svgo`

### Installation for optimizing webp images with cwebp

[](#installation-for-optimizing-webp-images-with-cwebp)

See  for downloading and installation.

If the binaries are not under `/usr/bin/`, then add the absolute path in TYPO3's global configuration like so:

`system/settings.php`:

```
return [
    'SYS' => [
        'binSetup' => 'cwebp=/absolute/path/to/bin/cwebp',
    ],
];
```

Configuration options
---------------------

[](#configuration-options)

[![Extension Manager configuration options](https://raw.githubusercontent.com/christophlehmann/imageoptimizer/master/Documentation/configuration.png)](https://raw.githubusercontent.com/christophlehmann/imageoptimizer/master/Documentation/configuration.png)

### Available Parameters

[](#available-parameters)

- Available parameters for gifsicle are found [here](https://www.lcdf.org/gifsicle/man.html).
- Available parameters for jpegoptim are found [here](https://www.kokkonen.net/tjko/src/man/jpegoptim.txt).
- Available parameters for cwebp are found [here](https://developers.google.com/speed/webp/docs/cwebp).

Debugging
---------

[](#debugging)

- Commands are tested in the Extension Settings module
- Logging API: See file/database log

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity50

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~142 days

Recently: every ~120 days

Total

24

Last Release

123d ago

Major Versions

1.1.3 → 2.0.12019-04-13

2.1.0 → 3.0.02020-05-12

3.1.1 → 4.0.02023-08-29

4.0.3 → 5.0.02025-02-16

5.1.1 → 6.0.02026-03-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e2a03e451b8ad5281ca437e00e44b1a50752d576afaba66db97d503beab31f2?d=identicon)[christophlehmann](/maintainers/christophlehmann)

---

Top Contributors

[![simonschaufi](https://avatars.githubusercontent.com/u/941794?v=4)](https://github.com/simonschaufi "simonschaufi (53 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (45 commits)")[![christophlehmann](https://avatars.githubusercontent.com/u/4953689?v=4)](https://github.com/christophlehmann "christophlehmann (19 commits)")[![magicsunday](https://avatars.githubusercontent.com/u/564393?v=4)](https://github.com/magicsunday "magicsunday (2 commits)")[![sascha-egerer](https://avatars.githubusercontent.com/u/1651414?v=4)](https://github.com/sascha-egerer "sascha-egerer (2 commits)")[![revoltek-daniel](https://avatars.githubusercontent.com/u/5931272?v=4)](https://github.com/revoltek-daniel "revoltek-daniel (2 commits)")[![kaystrobach](https://avatars.githubusercontent.com/u/1185776?v=4)](https://github.com/kaystrobach "kaystrobach (2 commits)")[![NeoBlack](https://avatars.githubusercontent.com/u/1128085?v=4)](https://github.com/NeoBlack "NeoBlack (1 commits)")[![snk-typo3-team](https://avatars.githubusercontent.com/u/56540383?v=4)](https://github.com/snk-typo3-team "snk-typo3-team (1 commits)")[![bjo3rnf](https://avatars.githubusercontent.com/u/1183009?v=4)](https://github.com/bjo3rnf "bjo3rnf (1 commits)")[![sterborg](https://avatars.githubusercontent.com/u/5538287?v=4)](https://github.com/sterborg "sterborg (1 commits)")[![DanielRuf](https://avatars.githubusercontent.com/u/827205?v=4)](https://github.com/DanielRuf "DanielRuf (1 commits)")[![dennismetz](https://avatars.githubusercontent.com/u/17856901?v=4)](https://github.com/dennismetz "dennismetz (1 commits)")[![garvinhicking](https://avatars.githubusercontent.com/u/273326?v=4)](https://github.com/garvinhicking "garvinhicking (1 commits)")[![koehnlein](https://avatars.githubusercontent.com/u/16088567?v=4)](https://github.com/koehnlein "koehnlein (1 commits)")[![maximilian-walter](https://avatars.githubusercontent.com/u/1067260?v=4)](https://github.com/maximilian-walter "maximilian-walter (1 commits)")[![mueller-sebastian](https://avatars.githubusercontent.com/u/20316366?v=4)](https://github.com/mueller-sebastian "mueller-sebastian (1 commits)")

---

Tags

image-optimizationjpegtranlosslessoptipngtypo3extensiontypo3optipngjpegoptimprogressivelossless

###  Code Quality

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/christophlehmann-imageoptimizer/health.svg)

```
[![Health](https://phpackages.com/badges/christophlehmann-imageoptimizer/health.svg)](https://phpackages.com/packages/christophlehmann-imageoptimizer)
```

###  Alternatives

[somehow-digital/typo3-media-processing

Media Processing

121.3k](/packages/somehow-digital-typo3-media-processing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
