PHP - Manual: HaruImage::getBitsPerComponent
2024-11-12
(PECL haru >= 0.0.1)
HaruImage::getBitsPerComponent — Get the number of bits used to describe each color component of the image
Gets the number of bits used to describe each color component of the image.
此函数没有参数。
Returns the number of bits used to describe each color component of the image.
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/haruimage.getbitspercomponent.php