HaruImage::setColorMask
(PECL haru:0.0.1)
HaruImage::setColorMask — Set the color mask of the image
Описание
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.
Errors/Exceptions
Throws HaruException on error.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Haru PDF
- Функция HaruImage::getBitsPerComponent() - Get the number of bits used to describe each color component of the image
- Функция HaruImage::getColorSpace() - Get the name of the color space
- Функция HaruImage::getHeight() - Get the height of the image
- Функция HaruImage::getSize() - Get size of the image
- Функция HaruImage::getWidth() - Get the width of the image
- Функция HaruImage::setColorMask() - Set the color mask of the image
- Функция HaruImage::setMaskImage() - Set the image mask
Коментарии
404 Not Found