Pdf/Filter/Compression/Lzw.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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Version
- $Id: Lzw.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Pdf_Filter_Compression_Lzw
LZW stream filter
- Parent(s)
- \Zend_Pdf_Filter_Compression
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods


_applyDecodeParams(string $data, array $params) : string
Convert stream data according to the filter params set after decoding.
Inherited from: \Zend_Pdf_Filter_Compression::_applyDecodeParams()Name | Type | Description |
---|---|---|
$data | string | |
$params | array |
Type | Description |
---|---|
string |


_applyEncodeParams(string $data, array $params) : string
Convert stream data according to the filter params set before encoding.
Inherited from: \Zend_Pdf_Filter_Compression::_applyEncodeParams()Name | Type | Description |
---|---|---|
$data | string | |
$params | array |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


_getBitsPerComponentValue(array $params) : integer
Get BitsPerComponent decode param value
Inherited from: \Zend_Pdf_Filter_Compression::_getBitsPerComponentValue()Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
integer |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


_getColorsValue(array $params) : integer
Get Colors decode param value
Inherited from: \Zend_Pdf_Filter_Compression::_getColorsValue()Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
integer |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


_getColumnsValue(array $params) : integer
Get Columns decode param value
Inherited from: \Zend_Pdf_Filter_Compression::_getColumnsValue()Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
integer |


_getEarlyChangeValue(array $params) : integer
Get EarlyChange decode param value
Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
integer |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


_getPredictorValue(array $params) : integer
Get Predictor decode param value
Inherited from: \Zend_Pdf_Filter_Compression::_getPredictorValue()Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
integer |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


_paeth(integer $a, integer $b, integer $c) : integer
Name | Type | Description |
---|---|---|
$a | integer | |
$b | integer | |
$c | integer |
Type | Description |
---|---|
integer |


decode(string $data, array $params = null) : string
Decode data
Name | Type | Description |
---|---|---|
$data | string | |
$params | array |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


encode(string $data, array $params = null) : string
Encode data
Name | Type | Description |
---|---|---|
$data | string | |
$params | array |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |