Abstract Class Zend_Pdf_Image

Description

Abstract factory class which vends Zend_Pdf_Resource_Image objects.

This class is also the home for image-related constants because the name of the true base class (Zend_Pdf_Resource_Image) is not intuitive for the end user.

  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)
  • abstract:
  • license: New BSD License

Located in /Pdf/Image.php (line 42)


	
			
Class Constant Summary
Method Summary
Methods
static imageWithPath (line 123)

Returns a Zend_Pdf_Resource_Image object by file path.

  • throws: Zend_Pdf_Exception
  • access: public
static Zend_Pdf_Resource_Image imageWithPath (string $filePath)
  • string $filePath: Full path to the image file.
static _extractJpegImage (line 198)

Attempts to extract a JPEG Image from the data source.

  • return: May also return null if the data source does not appear to contain valid image data.
  • throws: Zend_Pdf_Exception
  • access: protected
static Zend_Pdf_Resource_Image_Jpeg _extractJpegImage (Zend_Pdf_FileParserDataSource $dataSource)
static _extractPngImage (line 215)

Attempts to extract a PNG Image from the data source.

  • return: May also return null if the data source does not appear to contain valid image data.
  • throws: Zend_Pdf_Exception
  • access: protected
static Zend_Pdf_Resource_Image_Png _extractPngImage (Zend_Pdf_FileParserDataSource $dataSource)
static _extractTiffImage (line 232)

Attempts to extract a TIFF Image from the data source.

  • return: May also return null if the data source does not appear to contain valid image data.
  • throws: Zend_Pdf_Exception
  • access: protected
static Zend_Pdf_Resource_Image_Tiff _extractTiffImage (Zend_Pdf_FileParserDataSource $dataSource)
Class Constants
PNG_CHANNEL_GRAY = 0 (line 105)
PNG_CHANNEL_GRAY_ALPHA = 4 (line 108)
PNG_CHANNEL_INDEXED = 3 (line 107)
PNG_CHANNEL_RGB = 2 (line 106)
PNG_CHANNEL_RGB_ALPHA = 6 (line 109)
PNG_COMPRESSION_DEFAULT_STRATEGY = 0 (line 91)
PNG_COMPRESSION_FILTERED = 1 (line 92)
PNG_COMPRESSION_HUFFMAN_ONLY = 2 (line 93)
PNG_COMPRESSION_RLE = 3 (line 94)
PNG_FILTER_AVERAGE = 3 (line 99)
PNG_FILTER_NONE = 0 (line 96)
PNG_FILTER_PAETH = 4 (line 100)
PNG_FILTER_SUB = 1 (line 97)
PNG_FILTER_UP = 2 (line 98)
PNG_INTERLACING_DISABLED = 0 (line 102)
PNG_INTERLACING_ENABLED = 1 (line 103)
TIFF_COMPRESSION_CCITT1D = 2 (line 72)
TIFF_COMPRESSION_FLATE = 8 (line 77)
TIFF_COMPRESSION_FLATE_OBSOLETE_CODE = 32946 (line 78)
TIFF_COMPRESSION_GROUP_3_FAX = 3 (line 73)
TIFF_COMPRESSION_GROUP_4_FAX = 4 (line 74)
TIFF_COMPRESSION_JPEG = 6 (line 76)
TIFF_COMPRESSION_LZW = 5 (line 75)
TIFF_COMPRESSION_PACKBITS = 32773 (line 79)
TIFF_COMPRESSION_UNCOMPRESSED = 1 (line 71)
TIFF_FIELD_TYPE_ASCII = 2 (line 57)
TIFF_FIELD_TYPE_BYTE = 1 (line 56)
TIFF_FIELD_TYPE_LONG = 4 (line 59)
TIFF_FIELD_TYPE_RATIONAL = 5 (line 60)
TIFF_FIELD_TYPE_SHORT = 3 (line 58)
TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO = 1 (line 82)
TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB = 8 (line 87)
TIFF_PHOTOMETRIC_INTERPRETATION_CMYK = 5 (line 85)
TIFF_PHOTOMETRIC_INTERPRETATION_RGB = 2 (line 83)
TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED = 3 (line 84)
TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO = 0 (line 81)
TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR = 6 (line 86)
TIFF_TAG_BITS_PER_SAMPLE = 258 (line 64)
TIFF_TAG_COMPRESSION = 259 (line 65)
TIFF_TAG_IMAGE_LENGTH = 257 (line 63)
TIFF_TAG_IMAGE_WIDTH = 256 (line 62)
TIFF_TAG_PHOTOMETRIC_INTERPRETATION = 262 (line 66)
TIFF_TAG_SAMPLES_PER_PIXEL = 277 (line 68)
TIFF_TAG_STRIP_BYTE_COUNTS = 279 (line 69)
TIFF_TAG_STRIP_OFFSETS = 273 (line 67)
TYPE_JPEG = 1 (line 50)
TYPE_PNG = 2 (line 51)
TYPE_TIFF = 3 (line 52)
TYPE_UNKNOWN = 0 (line 49)

** Class Constants ***

Documentation generated on Sun, 27 May 2007 23:24:48 -0700 by phpDocumentor 1.3.2