## Zend_Pdf_Image_TIFF

Description

TIFF image

- license: New BSD License
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Pdf/Resource/Image/TIFF.php (line 41)

    Zend_Pdf_Resource
       |
       --Zend_Pdf_Image
          |
          --Zend_Pdf_Image_TIFF

Class Constant Summary
TIFF_COMPRESSION_CCITT1D = 2
TIFF_COMPRESSION_FLATE = 8
TIFF_COMPRESSION_FLATE_OBSOLETE_CODE = 32946
TIFF_COMPRESSION_GROUP_3_FAX = 3
TIFF_COMPRESSION_GROUP_4_FAX = 4
TIFF_COMPRESSION_JPEG = 6
TIFF_COMPRESSION_LZW = 5
TIFF_COMPRESSION_PACKBITS = 32773
TIFF_COMPRESSION_UNCOMPRESSED = 1
TIFF_ENDIAN_BIG = 0
TIFF_ENDIAN_LITTLE = 1
TIFF_FIELD_TYPE_ASCII = 2
TIFF_FIELD_TYPE_BYTE = 1
TIFF_FIELD_TYPE_LONG = 4
TIFF_FIELD_TYPE_RATIONAL = 5
TIFF_FIELD_TYPE_SHORT = 3
TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO = 1
TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB = 8
TIFF_PHOTOMETRIC_INTERPRETATION_CMYK = 5
TIFF_PHOTOMETRIC_INTERPRETATION_RGB = 2
TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED = 3
TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO = 0
TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR = 6
TIFF_TAG_BITS_PER_SAMPLE = 258
TIFF_TAG_COMPRESSION = 259
TIFF_TAG_IMAGE_LENGTH = 257
TIFF_TAG_IMAGE_WIDTH = 256
TIFF_TAG_PHOTOMETRIC_INTERPRETATION = 262
TIFF_TAG_SAMPLES_PER_PIXEL = 277
TIFF_TAG_STRIP_BYTE_COUNTS = 279
TIFF_TAG_STRIP_OFFSETS = 273
UNPACK_TYPE_BYTE = 0
UNPACK_TYPE_LONG = 2
UNPACK_TYPE_RATIONAL = 3
UNPACK_TYPE_SHORT = 1
Variable Summary
mixed $_bitsPerSample
mixed $_blackIsZero
mixed $_colorCode
mixed $_colorSpace
mixed $_compression
mixed $_endianType
mixed $_fileSize
mixed $_filter
mixed $_height
mixed $_imageDataLength
mixed $_imageDataOffset
mixed $_imageProperties
mixed $_whiteIsZero
mixed $_width
Method Summary
void getPixelHeight ()
void getPixelWidth ()
void getProperties ()
Zend_Pdf_Image_TIFF __construct (string $imageFileName)
void unpackBytes (int $type, string $bytes)
Variables
mixed $_bitsPerSample (line 81)

- access: protected

mixed $_blackIsZero (line 86)

- access: protected

mixed $_colorCode (line 84)

- access: protected

mixed $_colorSpace (line 87)

- access: protected

mixed $_compression (line 82)

- access: protected

mixed $_endianType (line 79)

- access: protected

mixed $_fileSize (line 80)

- access: protected

mixed $_filter (line 83)

- access: protected

mixed $_height (line 77)

- access: protected

mixed $_imageDataLength (line 89)

- access: protected

mixed $_imageDataOffset (line 88)

- access: protected

mixed $_imageProperties (line 78)

- access: protected

mixed $_whiteIsZero (line 85)

- access: protected

mixed $_width (line 76)

- access: protected

#### Inherited Variables

Inherited from Zend_Pdf_Resource

> Zend_Pdf_Resource::$_objectFactory
> Zend_Pdf_Resource::$_resource

Methods
getPixelHeight (line 420)

Image height (defined in Zend_Pdf_Image_Interface)

- access: public

void getPixelHeight ()

Redefinition of:

Zend_Pdf_Image::getPixelHeight()
  get the height in pixels of the image

getPixelWidth (line 413)

Image width (defined in Zend_Pdf_Image_Interface)

- access: public

void getPixelWidth ()

Redefinition of:

Zend_Pdf_Image::getPixelWidth()
  get the width in pixels of the image

getProperties (line 427)

Image properties (defined in Zend_Pdf_Image_Interface)

- access: public

void getProperties ()

Redefinition of:

Zend_Pdf_Image::getProperties()
  gets an associative array of information about an image

Constructor __construct (line 142)

Object constructor

- access: public
- throws: Zend_Pdf_Exception

Zend_Pdf_Image_TIFF __construct (string $imageFileName)

- string $imageFileName

Redefinition of:

Zend_Pdf_Image::__construct()
  Object constructor.

unpackBytes (line 108)

Byte unpacking function

Makes it possible to unpack bytes in one statement for enhanced logic readability.

- access: protected
- throws: Zend_Pdf_Exception

void unpackBytes (int $type, string $bytes)

- int $type
- string $bytes

#### Inherited Methods

Inherited From Zend_Pdf_Image

> Zend_Pdf_Image::__construct()
> Zend_Pdf_Image::getPixelHeight()
> Zend_Pdf_Image::getPixelWidth()
> Zend_Pdf_Image::getProperties()

Inherited From Zend_Pdf_Resource

> Zend_Pdf_Resource::__construct()
> Zend_Pdf_Resource::getResource()

Class Constants
TIFF_COMPRESSION_CCITT1D = 2 (line 59)
TIFF_COMPRESSION_FLATE = 8 (line 64)
TIFF_COMPRESSION_FLATE_OBSOLETE_CODE = 32946 (line 65)
TIFF_COMPRESSION_GROUP_3_FAX = 3 (line 60)
TIFF_COMPRESSION_GROUP_4_FAX = 4 (line 61)
TIFF_COMPRESSION_JPEG = 6 (line 63)
TIFF_COMPRESSION_LZW = 5 (line 62)
TIFF_COMPRESSION_PACKBITS = 32773 (line 66)
TIFF_COMPRESSION_UNCOMPRESSED = 1 (line 58)
TIFF_ENDIAN_BIG = 0 (line 91)
TIFF_ENDIAN_LITTLE = 1 (line 92)
TIFF_FIELD_TYPE_ASCII = 2 (line 44)
TIFF_FIELD_TYPE_BYTE = 1 (line 43)
TIFF_FIELD_TYPE_LONG = 4 (line 46)
TIFF_FIELD_TYPE_RATIONAL = 5 (line 47)
TIFF_FIELD_TYPE_SHORT = 3 (line 45)
TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO = 1 (line 69)
TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB = 8 (line 74)
TIFF_PHOTOMETRIC_INTERPRETATION_CMYK = 5 (line 72)
TIFF_PHOTOMETRIC_INTERPRETATION_RGB = 2 (line 70)
TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED = 3 (line 71)
TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO = 0 (line 68)
TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR = 6 (line 73)
TIFF_TAG_BITS_PER_SAMPLE = 258 (line 51)
TIFF_TAG_COMPRESSION = 259 (line 52)
TIFF_TAG_IMAGE_LENGTH = 257 (line 50)
TIFF_TAG_IMAGE_WIDTH = 256 (line 49)
TIFF_TAG_PHOTOMETRIC_INTERPRETATION = 262 (line 53)
TIFF_TAG_SAMPLES_PER_PIXEL = 277 (line 55)
TIFF_TAG_STRIP_BYTE_COUNTS = 279 (line 56)
TIFF_TAG_STRIP_OFFSETS = 273 (line 54)
UNPACK_TYPE_BYTE = 0 (line 94)
UNPACK_TYPE_LONG = 2 (line 96)
UNPACK_TYPE_RATIONAL = 3 (line 97)
UNPACK_TYPE_SHORT = 1 (line 95)

Documentation generated on Wed, 21 Feb 2007 12:01:01 -0800 by phpDocumentor 1.3.1