Zend Framework
1.12
|
Public Member Functions | |
__construct ($imageFileName) | |
Object constructor. | |
getPixelWidth () | |
Image width (defined in Zend_Pdf_Resource_Image_Interface) | |
getPixelHeight () | |
Image height (defined in Zend_Pdf_Resource_Image_Interface) | |
getProperties () | |
Image properties (defined in Zend_Pdf_Resource_Image_Interface) | |
![]() | |
__construct () | |
Object constructor. | |
getPixelHeight () | |
get the height in pixels of the image | |
getPixelWidth () | |
get the width in pixels of the image | |
getProperties () | |
gets an associative array of information about an image | |
![]() | |
__construct ($resource) | |
Object constructor. | |
__clone () | |
Clone page, extract it and dependent objects from the current document, so it can be used within other docs. | |
cloneResource ($factory, &$processed) | |
Clone resource, extract it and dependent objects from the current document, so it can be used within other docs. | |
getResource () | |
Get resource. | |
getFactory () | |
Get factory. | |
Protected Member Functions | |
unpackBytes ($type, $bytes) | |
Byte unpacking function. | |
__construct | ( | $imageFileName | ) |
getPixelHeight | ( | ) |
Image height (defined in Zend_Pdf_Resource_Image_Interface)
getPixelWidth | ( | ) |
Image width (defined in Zend_Pdf_Resource_Image_Interface)
getProperties | ( | ) |
Image properties (defined in Zend_Pdf_Resource_Image_Interface)
|
protected |
Byte unpacking function.
Makes it possible to unpack bytes in one statement for enhanced logic readability.
int | $type | |
string | $bytes |
Zend_Pdf_Exception |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const TIFF_COMPRESSION_CCITT1D = 2 |
const TIFF_COMPRESSION_FLATE = 8 |
const TIFF_COMPRESSION_FLATE_OBSOLETE_CODE = 32946 |
const TIFF_COMPRESSION_GROUP_3_FAX = 3 |
const TIFF_COMPRESSION_GROUP_4_FAX = 4 |
const TIFF_COMPRESSION_JPEG = 6 |
const TIFF_COMPRESSION_LZW = 5 |
const TIFF_COMPRESSION_PACKBITS = 32773 |
const TIFF_COMPRESSION_UNCOMPRESSED = 1 |
const TIFF_ENDIAN_BIG =0 |
const TIFF_ENDIAN_LITTLE =1 |
const TIFF_FIELD_TYPE_ASCII =2 |
const TIFF_FIELD_TYPE_BYTE =1 |
const TIFF_FIELD_TYPE_LONG =4 |
const TIFF_FIELD_TYPE_RATIONAL =5 |
const TIFF_FIELD_TYPE_SHORT =3 |
const TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO =1 |
const TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB =8 |
const TIFF_PHOTOMETRIC_INTERPRETATION_CMYK =5 |
const TIFF_PHOTOMETRIC_INTERPRETATION_RGB =2 |
const TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED =3 |
const TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO =0 |
const TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR =6 |
const TIFF_TAG_BITS_PER_SAMPLE =258 |
const TIFF_TAG_COMPRESSION =259 |
const TIFF_TAG_IMAGE_LENGTH =257 |
const TIFF_TAG_IMAGE_WIDTH =256 |
const TIFF_TAG_PHOTOMETRIC_INTERPRETATION =262 |
const TIFF_TAG_SAMPLES_PER_PIXEL =277 |
const TIFF_TAG_STRIP_BYTE_COUNTS =279 |
const TIFF_TAG_STRIP_OFFSETS =273 |
const UNPACK_TYPE_BYTE =0 |
const UNPACK_TYPE_LONG =2 |
const UNPACK_TYPE_RATIONAL =3 |
const UNPACK_TYPE_SHORT =1 |