Zend Framework
1.12
|
Public Member Functions | |
__construct ($imageFileName) | |
Object constructor. | |
getPixelWidth () | |
Image width. | |
getPixelHeight () | |
Image height. | |
getProperties () | |
Image properties. | |
![]() | |
__construct () | |
Object constructor. | |
getPixelHeight () | |
get the height in pixels of the image | |
getPixelWidth () | |
get the width in pixels of the image | |
getProperties () | |
gets an associative array of information about an image | |
![]() | |
__construct ($resource) | |
Object constructor. | |
__clone () | |
Clone page, extract it and dependent objects from the current document, so it can be used within other docs. | |
cloneResource ($factory, &$processed) | |
Clone resource, extract it and dependent objects from the current document, so it can be used within other docs. | |
getResource () | |
Get resource. | |
getFactory () | |
Get factory. | |
Public Attributes | |
const | PNG_COMPRESSION_DEFAULT_STRATEGY = 0 |
const | PNG_COMPRESSION_FILTERED = 1 |
const | PNG_COMPRESSION_HUFFMAN_ONLY = 2 |
const | PNG_COMPRESSION_RLE = 3 |
const | PNG_FILTER_NONE = 0 |
const | PNG_FILTER_SUB = 1 |
const | PNG_FILTER_UP = 2 |
const | PNG_FILTER_AVERAGE = 3 |
const | PNG_FILTER_PAETH = 4 |
const | PNG_INTERLACING_DISABLED = 0 |
const | PNG_INTERLACING_ENABLED = 1 |
const | PNG_CHANNEL_GRAY = 0 |
const | PNG_CHANNEL_RGB = 2 |
const | PNG_CHANNEL_INDEXED = 3 |
const | PNG_CHANNEL_GRAY_ALPHA = 4 |
const | PNG_CHANNEL_RGB_ALPHA = 6 |
Protected Attributes | |
$_width | |
$_height | |
$_imageProperties | |
__construct | ( | $imageFileName | ) |
Object constructor.
string | $imageFileName |
Zend_Pdf_Exception |
Add compression conversions to support compression strategys other than PNG_COMPRESSION_DEFAULT_STRATEGY.
Add pre-compression filtering.
Add interlaced image handling.
Add support for 16-bit images. Requires PDF version bump to 1.5 at least.
Add processing for all PNG chunks defined in the spec. gAMA etc.
Fix tRNS chunk support for Indexed Images to a SMask.
getPixelHeight | ( | ) |
Image height.
getPixelWidth | ( | ) |
Image width.
getProperties | ( | ) |
Image properties.
|
protected |
|
protected |
|
protected |
const PNG_CHANNEL_GRAY = 0 |
const PNG_CHANNEL_GRAY_ALPHA = 4 |
const PNG_CHANNEL_INDEXED = 3 |
const PNG_CHANNEL_RGB = 2 |
const PNG_CHANNEL_RGB_ALPHA = 6 |
const PNG_COMPRESSION_DEFAULT_STRATEGY = 0 |
const PNG_COMPRESSION_FILTERED = 1 |
const PNG_COMPRESSION_HUFFMAN_ONLY = 2 |
const PNG_COMPRESSION_RLE = 3 |
const PNG_FILTER_AVERAGE = 3 |
const PNG_FILTER_NONE = 0 |
const PNG_FILTER_PAETH = 4 |
const PNG_FILTER_SUB = 1 |
const PNG_FILTER_UP = 2 |
const PNG_INTERLACING_DISABLED = 0 |
const PNG_INTERLACING_ENABLED = 1 |