GoLang HaruImage::getBitsPerComponent

request it (68)
GoLang replacement for PHP's HaruImage::getBitsPerComponent [edit | history]



Do you know a GoLang replacement for PHP's HaruImage::getBitsPerComponent? Write it!

PHP HaruImage::getBitsPerComponent

PHP original manual for HaruImage::getBitsPerComponent [ show | php.net ]

HaruImage::getBitsPerComponent

(PECL haru >= 0.0.1)

HaruImage::getBitsPerComponentGet the number of bits used to describe each color component of the image

Description

int HaruImage::getBitsPerComponent ( void )

Gets the number of bits used to describe each color component of the image.

Parameters

This function has no parameters.

Return Values

Returns the number of bits used to describe each color component of the image.

Errors/Exceptions

Throws a HaruException on error.