(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.
The lower limit of red. Must be between 0 and 255.
The upper limit of red. Must be between 0 and 255.
The lower limit of green. Must be between 0 and 255.
The upper limit of green. Must be between 0 and 255.
The lower limit of blue. Must be between 0 and 255.
The upper limit of blue. Must be between 0 and 255.
Returns TRUE on success.
发生错误时抛出 HaruException 异常。