PHPackages                             horde/image - 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. horde/image

ActiveLibrary[Image &amp; Media](/categories/media)

horde/image
===========

Image library

v3.0.0(6d ago)22.3k↑1326.7%56LGPL-2.1-onlyPHPPHP ^8.1

Since Jul 13Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/horde/Image)[ Packagist](https://packagist.org/packages/horde/image)[ Docs](https://www.horde.org/libraries/Horde_Image)[ RSS](/packages/horde-image/feed)WikiDiscussions FRAMEWORK\_6\_0 Synced today

READMEChangelog (6)Dependencies (25)Versions (38)Used By (6)

Horde\\Image
============

[](#hordeimage)

Image manipulation library for PHP 8.1+ with multiple backend support.

Features
--------

[](#features)

- **Multiple backends** - ImagickDriver, GdDriver, ImDriver (CLI), SvgDriver, PngDriver (pure PHP), NullDriver
- **Interface Segregation** - ImageDriver for single images, SequenceDriver for animation/multi-frame
- **Immutable resources** - all operations return new ImageResource instances
- **Drawing API** - path-based DrawingContext with state stack, SVG output and brush shapes
- **Filters** - Brightness, Contrast, Gamma, Grayscale, Colorize, Modulate, Sepia, Negate, Sharpen, Pixelate, Blur
- **Effects** - TextWatermark, PolaroidImage, PhotoStack, Border, DropShadow, RoundCorners, SmartCrop, CenterCrop, LiquidResize, Composite
- **Metadata** - EXIF/IPTC/XMP reading with GPS parsing and MakerNote support
- **Sequences** - multi-frame image support (animated GIF, APNG) via ImagickDriver
- **Color utilities** - named colors (140+ CSS names), lighten/darken/intensify and brightness calculation
- **Named font sizes** - FontSize enum with bidirectional point-value lookup
- **DI-friendly** - ImageFactory wrapper, all drivers are constructor-injectable

Requirements
------------

[](#requirements)

- PHP 8.1+
- At least one of: ext-imagick, ext-gd or ImageMagick CLI tools. A Pure PHP driver exists for a subset of features.

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

[](#installation)

```
composer require horde/image
```

Quick Start
-----------

[](#quick-start)

```
use Horde\Image\Driver\ImagickDriver;
use Horde\Image\Color\Color;
use Horde\Image\Format\ImageFormat;
use Horde\Image\Geometry\Size;

$driver = new ImagickDriver();
$image = $driver->create(new Size(800.0, 600.0), Color::named('white'));

$resized = $image->resize(new Size(400.0, 300.0));
$data = $driver->encode($resized, ImageFormat::JPEG);
file_put_contents('output.jpg', $data);
```

See [doc/USAGE.md](doc/USAGE.md) for full documentation. See [doc/UPGRADING.md](doc/UPRGADING.md) for upgrading calling code from legacy lib/ format or older versions. See [doc/COPYING-EXIF.md](doc/COPYING-EXIF.md) for copyright and licensing clarification on exifer code included.

License
-------

[](#license)

LGPL-2.1-only. See [LICENSE](LICENSE) for details.

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance95

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community37

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 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 ~148 days

Recently: every ~23 days

Total

33

Last Release

6d ago

Major Versions

2.6.1 → 3.0.0alpha12021-02-24

PHP version history (7 changes)2.0.6PHP &gt;=5.3.0

2.0.8PHP &gt;=5.3.0,&lt;=6.0.0alpha1

2.3.4PHP &gt;=5.3.0,&lt;=8.0.0alpha1

2.5.0PHP ^5.3 || ^7

3.0.0alpha1PHP ^7

v3.0.0alpha5PHP ^7.4 || ^8

v3.0.0RC2PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c943a083635c28520599075eaea7ede2d743b7697b76e84d6bdc37e52cc8249b?d=identicon)[yunosh](/maintainers/yunosh)

![](https://www.gravatar.com/avatar/c931cd02664859360478593450d6c473a05bb12b209dfacfc534cd13257cc7ef?d=identicon)[ralflang](/maintainers/ralflang)

![](https://www.gravatar.com/avatar/e4f6c6771993db2ed500959b42353f6cf6a2ca0406d9617f7ae680f4504faa4a?d=identicon)[horde](/maintainers/horde)

![](https://www.gravatar.com/avatar/a7767adb66b45f2f05bcd44d49bc4e67efacd9ce05b161ce2d481d5dd6af025c?d=identicon)[mrubinsk](/maintainers/mrubinsk)

![](https://www.gravatar.com/avatar/816e2b926f25f8cd2939054c7a7173011b4303d690e25ab61bf33cf8c7cf71ae?d=identicon)[tdannhauer](/maintainers/tdannhauer)

---

Top Contributors

[![yunosh](https://avatars.githubusercontent.com/u/379318?v=4)](https://github.com/yunosh "yunosh (269 commits)")[![mrubinsk](https://avatars.githubusercontent.com/u/66822?v=4)](https://github.com/mrubinsk "mrubinsk (228 commits)")[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (30 commits)")[![slusarz](https://avatars.githubusercontent.com/u/381003?v=4)](https://github.com/slusarz "slusarz (30 commits)")[![wrobel](https://avatars.githubusercontent.com/u/10232?v=4)](https://github.com/wrobel "wrobel (6 commits)")[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (2 commits)")[![selsky](https://avatars.githubusercontent.com/u/380337?v=4)](https://github.com/selsky "selsky (2 commits)")[![amulet1](https://avatars.githubusercontent.com/u/18431541?v=4)](https://github.com/amulet1 "amulet1 (1 commits)")[![sathieu](https://avatars.githubusercontent.com/u/741106?v=4)](https://github.com/sathieu "sathieu (1 commits)")[![farisv](https://avatars.githubusercontent.com/u/44131180?v=4)](https://github.com/farisv "farisv (1 commits)")[![lamby](https://avatars.githubusercontent.com/u/133209?v=4)](https://github.com/lamby "lamby (1 commits)")[![TDannhauer](https://avatars.githubusercontent.com/u/6716033?v=4)](https://github.com/TDannhauer "TDannhauer (1 commits)")[![thomasjfox](https://avatars.githubusercontent.com/u/1146758?v=4)](https://github.com/thomasjfox "thomasjfox (1 commits)")[![KarimGeiger](https://avatars.githubusercontent.com/u/2329930?v=4)](https://github.com/KarimGeiger "KarimGeiger (1 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (1 commits)")

---

Tags

gdimagickmetadataexif

### Embed Badge

![Health badge](/badges/horde-image/health.svg)

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

###  Alternatives

[horde/imap_client

IMAP client library

275.5k19](/packages/horde-imap-client)[horde/horde

Horde base application

583.0k70](/packages/horde-horde)[horde/kronolith

Calendar and scheduling application

101.5k4](/packages/horde-kronolith)[horde/imp

Webmail application

261.3k](/packages/horde-imp)

PHPackages © 2026

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