PHPackages                             hherold/deepzoom - 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. hherold/deepzoom

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

hherold/deepzoom
================

Fork of Deepzoom tile generator with additional watermark support

0.1.0(5y ago)08MITPHPPHP &gt;=7.0

Since Jun 14Pushed 5y agoCompare

[ Source](https://github.com/hannesherold/deepzoom)[ Packagist](https://packagist.org/packages/hherold/deepzoom)[ RSS](/packages/hherold-deepzoom/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Deepzoom
========

[](#deepzoom)

This is a modified fork of [jeremytubbs/deepzoom](https://github.com/jeremytubbs/deepzoom), a tile Generator for use with [OpenSeadragon](https://openseadragon.github.io/).
It supports automatic watermark insertion.

### Basic watermark support

[](#basic-watermark-support)

To automatically add a watermark image to tiles, we use the `insert()` method of the Intervention Image library.
Users can specify the image-file and the zoom-level from which on the watermark should be applied.
This alpha version was tested with imagick image library only.

### Example implementation

[](#example-implementation)

```
   require_once __DIR__ . '/vendor/autoload.php';

   $options = [
      'path'           => 'tiles',
      'format'         => 'jpg',
      'watermarkFile'  => 'watermark.png',
      'watermarkLevel' => 10,
   ];
   $source = 'images/test.jpg';
   $folder = null;
   $file = null;

   // Setup Deepzoom
   $deepzoom = Hherold\Deepzoom\DeepzoomFactory::create($options);

   // folder, file are optional and will default to filename
   $response = $deepzoom->makeTiles($source, $folder, $file);
```

***path***
The export path for tiles.
*required*

***format***
The export format for tiles. Watermark support was only tested with jpg files.
*Default: jpg*

***watermarkFile***
If you want the module to automatically add a watermark to the tiles, specify the file here. Transparent PNG works best.
*Default: null*

***watermarkLevel***
Specify from which zoom-level on the watermark should be applied.
*Default: 10*

### Supported Image Libraries

[](#supported-image-libraries)

Originally Deepzoom supports Imagick and gd. This module however is only tested with Imagick (&gt;=6.5.7), which is therefore set default.

### FYI:

[](#fyi)

Filenames for JSONP must not start with a number and should not contain hyphen therefore filename spaces and hyphens will be converted to underscores. Folder name spaces will be converted to hyphens. If you would like to avoid this auto-naming declare your 'folder' and 'file' within the maketiles method.

License
-------

[](#license)

MIT

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.2% 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

Unknown

Total

1

Last Release

1844d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16392875?v=4)[Hendrik Herold](/maintainers/hherold)[@hherold](https://github.com/hherold)

---

Top Contributors

[![jeremytubbs](https://avatars.githubusercontent.com/u/548888?v=4)](https://github.com/jeremytubbs "jeremytubbs (43 commits)")[![hannesherold](https://avatars.githubusercontent.com/u/46819942?v=4)](https://github.com/hannesherold "hannesherold (21 commits)")[![stefan-korn](https://avatars.githubusercontent.com/u/3440033?v=4)](https://github.com/stefan-korn "stefan-korn (1 commits)")

### Embed Badge

![Health badge](/badges/hherold-deepzoom/health.svg)

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

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k53.3M145](/packages/league-glide)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.5M85](/packages/unisharp-laravel-filemanager)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M172](/packages/intervention-image-laravel)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

506516.3k29](/packages/bkwld-croppa)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)

PHPackages © 2026

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