PHP Doku:: Set the color mask of the image - function.haruimage-setcolormask.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenHaru PDFThe HaruImage classHaruImage::setColorMask

Ein Service von Reinhard Neidl - Webprogrammierung.

The HaruImage class

<<HaruImage::getWidth

HaruImage::setMaskImage>>

HaruImage::setColorMask

(PECL haru >= 0.0.1)

HaruImage::setColorMaskSet the color mask of the image

Beschreibung

bool HaruImage::setColorMask ( int $rmin , int $rmax , int $gmin , int $gmax , int $bmin , int $bmax )

Defines the transparent color of the image using the RGB range values. The color within the range is displayed as a transparent color. The color space of the image must be RGB.

Parameter-Liste

rmin

The lower limit of red. Must be between 0 and 255.

rmax

The upper limit of red. Must be between 0 and 255.

gmin

The lower limit of green. Must be between 0 and 255.

gmax

The upper limit of green. Must be between 0 and 255.

bmin

The lower limit of blue. Must be between 0 and 255.

bmax

The upper limit of blue. Must be between 0 and 255.

Rückgabewerte

Returns TRUE on success.

Fehler/Exceptions

Throws a HaruException on error.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)