Docs For Class Zend_Pdf_Image_PNG

## Class Zend_Pdf_Image_PNG

Description

PNG image

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

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

    Zend_Pdf_Resource
       |
       --Zend_Pdf_Image
          |
          --Zend_Pdf_Image_PNG

Class Constant Summary
PNG_CHANNEL_GRAY = 0
PNG_CHANNEL_GRAY_ALPHA = 4
PNG_CHANNEL_INDEXED = 3
PNG_CHANNEL_RGB = 2
PNG_CHANNEL_RGB_ALPHA = 6
PNG_COMPRESSION_DEFAULT_STRATEGY = 0
PNG_COMPRESSION_FILTERED = 1
PNG_COMPRESSION_HUFFMAN_ONLY = 2
PNG_COMPRESSION_RLE = 3
PNG_FILTER_AVERAGE = 3
PNG_FILTER_NONE = 0
PNG_FILTER_PAETH = 4
PNG_FILTER_SUB = 1
PNG_FILTER_UP = 2
PNG_INTERLACING_DISABLED = 0
PNG_INTERLACING_ENABLED = 1
Variable Summary
mixed $_height
mixed $_imageProperties
mixed $_width
Method Summary
void getPixelHeight ()
void getPixelWidth ()
void getProperties ()
Zend_Pdf_Image_PNG __construct (string $imageFileName)
Variables
mixed $_height (line 64)

- access: protected

mixed $_imageProperties (line 65)

- access: protected

mixed $_width (line 63)

- access: protected

#### Inherited Variables

Inherited from Zend_Pdf_Resource

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

Methods
getPixelHeight (line 346)

Image height

- access: public

void getPixelHeight ()

Redefinition of:

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

getPixelWidth (line 339)

Image width

- access: public

void getPixelWidth ()

Redefinition of:

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

getProperties (line 353)

Image properties

- access: public

void getProperties ()

Redefinition of:

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

Constructor __construct (line 79)

Object constructor

- todo: Add pre-compression filtering.
- todo: Add compression conversions to support compression strategys other than PNG_COMPRESSION_DEFAULT_STRATEGY.
- access: public
- todo: Add interlaced image handling.
- todo: Add support for 16-bit images. Requires PDF version bump to 1.5 at least.
- todo: Fix tRNS chunk support for Indexed Images to a SMask.
- todo: Add processing for all PNG chunks defined in the spec. gAMA etc.
- throws: Zend_Pdf_Exception

Zend_Pdf_Image_PNG __construct (string $imageFileName)

- string $imageFileName

Redefinition of:

Zend_Pdf_Image::__construct()
  Object constructor.

#### 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
PNG_CHANNEL_GRAY = 0 (line 57)
PNG_CHANNEL_GRAY_ALPHA = 4 (line 60)
PNG_CHANNEL_INDEXED = 3 (line 59)
PNG_CHANNEL_RGB = 2 (line 58)
PNG_CHANNEL_RGB_ALPHA = 6 (line 61)
PNG_COMPRESSION_DEFAULT_STRATEGY = 0 (line 43)
PNG_COMPRESSION_FILTERED = 1 (line 44)
PNG_COMPRESSION_HUFFMAN_ONLY = 2 (line 45)
PNG_COMPRESSION_RLE = 3 (line 46)
PNG_FILTER_AVERAGE = 3 (line 51)
PNG_FILTER_NONE = 0 (line 48)
PNG_FILTER_PAETH = 4 (line 52)
PNG_FILTER_SUB = 1 (line 49)
PNG_FILTER_UP = 2 (line 50)
PNG_INTERLACING_DISABLED = 0 (line 54)
PNG_INTERLACING_ENABLED = 1 (line 55)

Documentation generated on Sun, 29 Oct 2006 21:27:28 -0600 by phpDocumentor 1.3.0RC6