Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22176 программистов и 1133 робота. Сейчас ищут 816 программистов ...
Приступая к работе

HaruImage::setColorMask - Set the color mask of the image

Вернуться к: HaruImage

HaruImage::setColorMask

(PECL haru >= 0.0.1)

HaruImage::setColorMaskSet the color mask of the image

Описание

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.

Список параметров

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.

Возвращаемые значения

Returns TRUE on success.

Ошибки

Вызывает исключение HaruException при ошибке.



Вернуться к: HaruImage

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware