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
TIFF_FIELD_TYPE_BYTE = '1'
TIFF_FIELD_TYPE_ASCII = '2'
TIFF_FIELD_TYPE_SHORT = '3'
TIFF_FIELD_TYPE_LONG = '4'
TIFF_FIELD_TYPE_RATIONAL = '5'
TIFF_TAG_IMAGE_WIDTH = '256'
TIFF_TAG_IMAGE_LENGTH = '257'
TIFF_TAG_BITS_PER_SAMPLE = '258'
TIFF_TAG_COMPRESSION = '259'
TIFF_TAG_PHOTOMETRIC_INTERPRETATION = '262'
TIFF_TAG_STRIP_OFFSETS = '273'
TIFF_TAG_SAMPLES_PER_PIXEL = '277'
TIFF_TAG_STRIP_BYTE_COUNTS = '279'
TIFF_COMPRESSION_UNCOMPRESSED = '1'
TIFF_COMPRESSION_CCITT1D = '2'
TIFF_COMPRESSION_GROUP_3_FAX = '3'
TIFF_COMPRESSION_GROUP_4_FAX = '4'
TIFF_COMPRESSION_LZW = '5'
TIFF_COMPRESSION_JPEG = '6'
TIFF_COMPRESSION_FLATE = '8'
TIFF_COMPRESSION_FLATE_OBSOLETE_CODE = '32946'
TIFF_COMPRESSION_PACKBITS = '32773'
TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO = '0'
TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO = '1'
TIFF_PHOTOMETRIC_INTERPRETATION_RGB = '2'
TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED = '3'
TIFF_PHOTOMETRIC_INTERPRETATION_CMYK = '5'
TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR = '6'
TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB = '8'
TIFF_ENDIAN_BIG = '0'
TIFF_ENDIAN_LITTLE = '1'
UNPACK_TYPE_BYTE = '0'
UNPACK_TYPE_SHORT = '1'
UNPACK_TYPE_LONG = '2'
UNPACK_TYPE_RATIONAL = '3'
$_bitsPerSample = ''
$_blackIsZero = ''
$_colorCode = ''
$_colorSpace = ''
$_compression = ''
$_endianType = ''
$_fileSize = ''
$_filter = ''
$_height = ''
$_imageDataLength = 'TIFF_ENDIAN_BIG'
$_imageDataOffset = ''
$_imageProperties = ''
$_whiteIsZero = ''
$_width = ''
__construct(
string $imageFileName
)
:
Object constructor
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)
unpackBytes(
int $type, string $bytes
)
:
Byte unpacking function
Makes it possible to unpack bytes in one statement for enhanced logic readability.