PHPackages                             mion/dither - 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. mion/dither

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

mion/dither
===========

A small library for converting full-color image to dither image.

0.0.1(4y ago)128MITPHPPHP &gt;=7.2

Since Apr 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zl/dither-php)[ Packagist](https://packagist.org/packages/mion/dither)[ RSS](/packages/mion-dither/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

dither-php
==========

[](#dither-php)

A small library for converting full-color image to dither image.

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

[](#installation)

Require the mion/dither package in your composer.json and update your dependencies:

```
composer require mion/dither
```

Usage
-----

[](#usage)

```
use Dither\Dither;

$image = imagecreatefrompng('demo.png');

$dither = new Dither;
$dither->setPalette(['#000000', '#FFFFFF', '#00FF00', '#0000FF', '#FF0000', '#FFFF00', '#FF8000']);
$output = $dither->process($image, 800, 600);
```

About Mion
----------

[](#about-mion)

Mion is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Guangzhou, China since September 2016.

License
-------

[](#license)

This software is released under [The MIT License (MIT)](LICENSE).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1490d ago

### Community

Maintainers

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

---

Top Contributors

[![zl](https://avatars.githubusercontent.com/u/16605538?v=4)](https://github.com/zl "zl (1 commits)")

---

Tags

phplaravelimagecolorrgbdither

### Embed Badge

![Health badge](/badges/mion-dither/health.svg)

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

###  Alternatives

[brianmcdo/image-palette

Extracts colors from an image and generates a color palette against a whitelist of colors.

179209.0k2](/packages/brianmcdo-image-palette)[tomatophp/filament-media-manager

Manage your media files using spatie media library with easy to use GUI for FilamentPHP

14543.9k3](/packages/tomatophp-filament-media-manager)[alirezasedghi/laravel-image-faker

A library to generate fake images for Laravel

1623.2k2](/packages/alirezasedghi-laravel-image-faker)[gabrieldarezzo/colorizzar

Change the colors of an image without lose alpha channnel

273.7k](/packages/gabrieldarezzo-colorizzar)[talesoft/phim

An image and color manipulation and processing library for PHP

2958.2k](/packages/talesoft-phim)[nikkanetiya/laravel-color-palette

Laravel Wrapper for `ksubileau/color-thief-php`. Grabs the dominant color or a representative color palette from an image. Uses PHP and GD or Imagick.

3312.6k](/packages/nikkanetiya-laravel-color-palette)

PHPackages © 2026

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