Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
TIFF image

__clone(
)
:
void
Clone page, extract it and dependent objects from the current document, so it can be used within other docs.
Inherited from: \Zend_Pdf_Resource::__clone()
__construct(
string $imageFileName
)
:
void
Object constructor
If resource is not a Zend_Pdf_Element object, then stream object with specified value is generated.
Name | Type | Description |
---|---|---|
$imageFileName | string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |

getPixelHeight(
)
:
integer
Image height (defined in Zend_Pdf_Resource_Image_Interface)
Type | Description |
---|---|
integer |

getPixelWidth(
)
:
integer
Image width (defined in Zend_Pdf_Resource_Image_Interface)
Type | Description |
---|---|
integer |

getProperties(
)
:
array
Image properties (defined in Zend_Pdf_Resource_Image_Interface)
Type | Description |
---|---|
array |

unpackBytes(
int $type, string $bytes
)
:
void
Byte unpacking function
Makes it possible to unpack bytes in one statement for enhanced logic readability.
Name | Type | Description |
---|---|---|
$type | int | |
$bytes | string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |