Class Zend_Pdf_FileParser_Image_Png

Description

Abstract base class for Image file parsers.

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

Located in /Pdf/FileParser/Image/Png.php (line 33)

Zend_Pdf_FileParser
   |
   --Zend_Pdf_FileParser_Image
      |
      --Zend_Pdf_FileParser_Image_Png
Variable Summary
 mixed $_bits
 mixed $_color
 mixed $_height
 mixed $_imageData
 mixed $_isPNG
 mixed $_preFilter
 mixed $_width
Method Summary
 void getBitDepth ()
 void getColorSpace ()
 void getHeight ()
 void getPaethFilter ()
 void getRawImageData ()
 void getWidth ()
 void parse ()
 void screen ()
 void _checkSignature ()
 void _parseChunks ()
 void _parseIDATChunk ( $chunkOffset,  $chunkLength)
 void _parseIHDRChunk ()
 void _parsePLTEChunk ( $chunkOffset,  $chunkLength)
 void _parseSignature ()
 void _parseTRNSChunk ( $chunkOffset,  $chunkLength)
Variables
mixed $_bits (line 38)
  • access: protected
mixed $_color (line 39)
  • access: protected
mixed $_compression (line 40)
  • access: protected
mixed $_height (line 37)
  • access: protected
mixed $_imageData (line 44)
  • access: protected
mixed $_interlacing (line 42)
  • access: protected
mixed $_isPNG (line 35)
  • access: protected
mixed $_paletteData (line 45)
  • access: protected
mixed $_preFilter (line 41)
  • access: protected
mixed $_transparencyData (line 46)
  • access: protected
mixed $_width (line 36)
  • access: protected

Inherited Variables

Inherited from Zend_Pdf_FileParser_Image

Zend_Pdf_FileParser_Image::$imageType

Inherited from Zend_Pdf_FileParser

Zend_Pdf_FileParser::$_dataSource
Zend_Pdf_FileParser::$_isParsed
Zend_Pdf_FileParser::$_isScreened
Methods
getBitDepth (line 64)
  • access: public
void getBitDepth ()
getColorSpace (line 71)
  • access: public
void getColorSpace ()
getCompressionStrategy (line 78)
  • access: public
void getCompressionStrategy ()
getHeight (line 57)
  • access: public
void getHeight ()
getInterlacingMode (line 92)
  • access: public
void getInterlacingMode ()
getPaethFilter (line 85)
  • access: public
void getPaethFilter ()
getRawImageData (line 99)
  • access: public
void getRawImageData ()
getRawPaletteData (line 106)
  • access: public
void getRawPaletteData ()
getRawTransparencyData (line 113)
  • access: public
void getRawTransparencyData ()
getWidth (line 50)

** Public Interface ***

  • access: public
void getWidth ()
parse (line 140)

Reads and parses the image data from the file on disk.

  • throws: Zend_Pdf_Exception
  • access: public
void parse ()

Redefinition of:
Zend_Pdf_FileParser::parse()
Reads and parses the complete binary file.
screen (line 127)

Verifies that the image file is in the expected format.

  • throws: Zend_Pdf_Exception
  • access: public
void screen ()

Redefinition of:
Zend_Pdf_FileParser::screen()
Performs a cursory check to verify that the binary file is in the expected format. Intended to quickly weed out obviously bogus files.
_checkSignature (line 164)
  • access: protected
void _checkSignature ()
_parseChunks (line 171)
  • access: protected
void _parseChunks ()
_parseIDATChunk (line 230)
  • access: protected
void _parseIDATChunk ( $chunkOffset,  $chunkLength)
  • $chunkOffset
  • $chunkLength
_parseIHDRChunk (line 213)
  • access: protected
void _parseIHDRChunk ()
_parsePLTEChunk (line 239)
  • access: protected
void _parsePLTEChunk ( $chunkOffset,  $chunkLength)
  • $chunkOffset
  • $chunkLength
_parseSignature (line 155)
  • access: protected
void _parseSignature ()
_parseTRNSChunk (line 244)
  • access: protected
void _parseTRNSChunk ( $chunkOffset,  $chunkLength)
  • $chunkOffset
  • $chunkLength

Inherited Methods

Inherited From Zend_Pdf_FileParser_Image

 Zend_Pdf_FileParser_Image::__construct()

Inherited From Zend_Pdf_FileParser

 Zend_Pdf_FileParser::__construct()
 Zend_Pdf_FileParser::getDataSource()
 Zend_Pdf_FileParser::getOffset()
 Zend_Pdf_FileParser::getSize()
 Zend_Pdf_FileParser::isBitSet()
 Zend_Pdf_FileParser::isParsed()
 Zend_Pdf_FileParser::isScreened()
 Zend_Pdf_FileParser::moveToOffset()
 Zend_Pdf_FileParser::parse()
 Zend_Pdf_FileParser::readBytes()
 Zend_Pdf_FileParser::readFixed()
 Zend_Pdf_FileParser::readInt()
 Zend_Pdf_FileParser::readStringMacRoman()
 Zend_Pdf_FileParser::readStringPascal()
 Zend_Pdf_FileParser::readStringUTF16()
 Zend_Pdf_FileParser::readUInt()
 Zend_Pdf_FileParser::screen()
 Zend_Pdf_FileParser::skipBytes()
 Zend_Pdf_FileParser::__destruct()
Class Constants

Documentation generated on Sun, 27 May 2007 23:26:41 -0700 by phpDocumentor 1.3.2