Manual do PHP
Anterior |  | Próxima

# HaruDoc::loadRaw

(no version information, might be only in CVS)

HaruDoc::loadRaw -- Load RAW image and return HaruImage instance

## Descrição

object HaruDoc::loadRaw ( string filename, int width, int height, int color_space )

Loads RAW image and returns new HaruImage instance.

## Parâmetros

`filename`

  The name of a RAW image file.

`width`

  The width of the image.

`height`

  The height of the image.

`color_space`

  The color space of the image. Can be one of the following values:

  `HaruDoc::CS_DEVICE_GRAY`
  `HaruDoc::CS_DEVICE_RGB`
  `HaruDoc::CS_DEVICE_CMYK`

## Erros/Excessões

Throws HaruException on error.

## Veja também

HaruDoc::loadJPEG()
HaruDoc::loadPNG()

Anterior | Principal | Próxima
HaruDoc::loadPNG | Acima | HaruDoc::loadTTC