PHPackages                             objement/imagick-canvas - 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. objement/imagick-canvas

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

objement/imagick-canvas
=======================

Library to easily generate Imagick graphics containing pictures, texts and shapes.

v0.1.2(3y ago)39MPL-2.0PHPPHP &gt;=7.4

Since Mar 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Objement/imagick-canvas)[ Packagist](https://packagist.org/packages/objement/imagick-canvas)[ RSS](/packages/objement-imagick-canvas/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

imagick-canvas
==============

[](#imagick-canvas)

PHP-Library to easily generate Imagick graphics containing pictures, texts and shapes by writing object-oriented PHP code.

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

[](#installation)

The library is available on Packagist and can therefore be installed using Composer.

```
composer require objement/imagick-canvas

```

Examples
--------

[](#examples)

### Create a centered watermark image

[](#create-a-centered-watermark-image)

```
$image = new OmElementImage($filepath);
$canvas = new OmCanvas(
	OmCanvas::RESOLUTION_DEFAULT_SCREEN, // for web (resolution is important when working with texts)
	OmCanvas::COLORSPACE_RGB, // for web RGB, use CMYK for print
	$image->getWidth(), $image->getHeight()
);
$canvas->addElement($image, OmElementPosition::create(OmUnit::UNIT_PIXELS, 0, 0));
$watermark = new OmElementImage(realpath('watermark.png'), $image->getWidth()->divide(5));
$canvas->addElement($watermark, OmElementPosition::create(OmUnit::UNIT_PIXELS,
	$image->getWidth()->divide(2)->subtract($watermark->getWidth()->divide(2)->getValue())->getValue(), // center it: (image width / 2) - (watermark width / 2)
	$image->getHeight()->divide(2)->subtract($watermark->getHeight()->divide(2)->getValue())->getValue()
));

$canvas->getImage('png')->writeImage($filepath);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

3

Last Release

1292d ago

### Community

Maintainers

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

---

Top Contributors

[![kevinglier](https://avatars.githubusercontent.com/u/22009629?v=4)](https://github.com/kevinglier "kevinglier (23 commits)")

---

Tags

imagick-canvasimagick-graphicsphp-librarypicturesshapes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/objement-imagick-canvas/health.svg)

```
[![Health](https://phpackages.com/badges/objement-imagick-canvas/health.svg)](https://phpackages.com/packages/objement-imagick-canvas)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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