HaruDoc::loadRaw
(PECL haru:0.0.1)
HaruDoc::loadRaw — Load a RAW image
Описание
object HaruDoc::loadRaw
( string $filename
, int $width
, int $height
, int $color_space
)
Loads a RAW image.
Список параметров
- 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
Возвращаемые значения
Returns a HaruImage instance.
Errors/Exceptions
Throws HaruException on error.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Haru PDF
- Функция HaruDoc::addPage() - Add new page to the document
- Функция HaruDoc::addPageLabel() - Set the numbering style for the specified range of pages
- Функция HaruDoc::__construct() - Construct new HaruDoc instance
- Функция HaruDoc::createOutline() - Create a HaruOutline instance
- Функция HaruDoc::getCurrentEncoder() - Get HaruEncoder currently used in the document
- Функция HaruDoc::getCurrentPage() - Return current page of the document
- Функция HaruDoc::getEncoder() - Get HaruEncoder instance for the specified encoding
- Функция HaruDoc::getFont() - Get HaruFont instance
- Функция HaruDoc::getInfoAttr() - Get current value of the specified document attribute
- Функция HaruDoc::getPageLayout() - Get current page layout
- Функция HaruDoc::getPageMode() - Get current page mode
- Функция HaruDoc::getStreamSize() - Get the size of the temporary stream
- Функция HaruDoc::insertPage() - Insert new page just before the specified page
- Функция HaruDoc::loadJPEG() - Load a JPEG image
- Функция HaruDoc::loadPNG() - Load PNG image and return HaruImage instance
- Функция HaruDoc::loadRaw() - Load a RAW image
- Функция HaruDoc::loadTTC() - Load the font with the specified index from TTC file
- Функция HaruDoc::loadTTF() - Load TTF font file
- Функция HaruDoc::loadType1() - Load Type1 font
- Функция HaruDoc::output() - Write the document data to the output buffer
- Функция HaruDoc::readFromStream() - Read data from the temporary stream
- Функция HaruDoc::resetError() - Reset error state of the document handle
- Функция HaruDoc::resetStream() - Rewind the temporary stream
- Функция HaruDoc::save() - Save the document into the specified file
- Функция HaruDoc::saveToStream() - Save the document into a temporary stream
- Функция HaruDoc::setCompressionMode() - Set compression mode for the document
- Функция HaruDoc::setCurrentEncoder() - Set the current encoder for the document
- Функция HaruDoc::setEncryptionMode() - Set encryption mode for the document
- Функция HaruDoc::setInfoAttr() - Set the info attribute of the document
- Функция HaruDoc::setInfoDateAttr() - Set the datetime info attributes of the document
- Функция HaruDoc::setOpenAction() - Define which page is shown when the document is opened
- Функция HaruDoc::setPageLayout() - Set how pages should be displayed
- Функция HaruDoc::setPageMode() - Set how the document should be displayed
- Функция HaruDoc::setPagesConfiguration() - Set the number of pages per set of pages
- Функция HaruDoc::setPassword() - Set owner and user passwords for the document
- Функция HaruDoc::setPermission() - Set permissions for the document
- Функция HaruDoc::useCNSEncodings() - Enable Chinese simplified encodings
- Функция HaruDoc::useCNSFonts() - Enable builtin Chinese simplified fonts
- Функция HaruDoc::useCNTEncodings() - Enable Chinese traditional encodings
- Функция HaruDoc::useCNTFonts() - Enable builtin Chinese traditional fonts
- Функция HaruDoc::useJPEncodings() - Enable Japanese encodings
- Функция HaruDoc::useJPFonts() - Enable builtin Japanese fonts
- Функция HaruDoc::useKREncodings() - Enable Korean encodings
- Функция HaruDoc::useKRFonts() - Enable builtin Korean fonts
Коментарии
404 Not Found