(PECL haru >= 0.0.1)
HaruDoc::loadRaw — Load a RAW image
$filename
, int $width
, int $height
, int $color_space
) : objectLoads a RAW image.
filenameThe name of a RAW image file.
widthThe width of the image.
heightThe height of the image.
color_spaceThe color space of the image. Can be one of the following values:
HaruDoc::CS_DEVICE_GRAY
HaruDoc::CS_DEVICE_RGB
HaruDoc::CS_DEVICE_CMYK
Returns a HaruImage instance.
Lança uma HaruException em erros.