Pdf/FileParser/Image/Png.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- FileParser
- Version
- $Id$
\Zend_Pdf_FileParser_Image_Png
Package: Zend_Pdf\FileParser
Abstract base class for Image file parsers.
Provides a library of methods to quickly navigate and extract various data
types (signed and unsigned integers, floating- and fixed-point numbers,
strings, etc.) from the file.
File access is managed via a {@link Zend_Pdf_FileParserDataSource} object.
This allows the same parser code to work with many different data sources:
in-memory objects, filesystem files, etc.
- Parent(s)
- \Zend_Pdf_FileParser_Image < \Zend_Pdf_FileParser
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
_parseIDATChunk( $chunkOffset, $chunkLength) : void
Parameters
Name | Type | Description |
---|---|---|
$chunkOffset | ||
$chunkLength |
_parsePLTEChunk( $chunkOffset, $chunkLength) : void
Parameters
Name | Type | Description |
---|---|---|
$chunkOffset | ||
$chunkLength |
_parseTRNSChunk( $chunkOffset, $chunkLength) : void
Parameters
Name | Type | Description |
---|---|---|
$chunkOffset | ||
$chunkLength |
parse() : void
Reads and parses the image data from the file on disk.
Throws
Exception | Description |
---|---|
\Zend_Pdf_Exception |
screen() : void
Verifies that the image file is in the expected format.
Throws
Exception | Description |
---|---|
\Zend_Pdf_Exception |