对码当歌,猿生几何?
Toggle navigation
猿客奇谈
首页
PHP
Web前端
数据库
服务器
Unix编程
Shell
Java
C/C++
Python
大数据
AI
手册
其他
小工具
« HaruFont::measureText
HaruImage::getBitsPerComponent »
PHP Manual
haru
The HaruImage class
The HaruImage class
(PECL haru >= 0.0.1)
简介
Haru PDF Image Class.
类摘要
HaruImage
{
/* 方法 */
getBitsPerComponent
(
void
) :
int
getColorSpace
(
void
) :
string
getHeight
(
void
) :
int
getSize
(
void
) :
array
getWidth
(
void
) :
int
setColorMask
(
int
$rmin
,
int
$rmax
,
int
$gmin
,
int
$gmax
,
int
$bmin
,
int
$bmax
) :
bool
setMaskImage
(
object
$mask_image
) :
bool
}
Table of Contents
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