Méthode | Description | |
---|---|---|
__construct ( string $type = 'diffusion' ) | Dither an image. | |
apply ( |
Apply filter. |
Méthode | Description | |
---|---|---|
diffusion ( |
Dither using error diffusion. | |
ordered ( |
Dither by applying a threshold map. |
public __construct ( string $type = 'diffusion' ) | ||
$type | string | Dithering algorithm to use. Options: diffusion, ordered. Defaults to diffusion. |
public apply ( |
||
$image | ||
Résultat |