Pdf/Filter/Compression/Flate.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 license@zend.com 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: Flate.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Pdf_Filter_Compression_Flate
Package: Zend\Pdf








Flate 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) : stringstaticinherited
Convert stream data according to the filter params set after decoding.
Inherited from: \Zend_Pdf_Filter_Compression::_applyDecodeParams()Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $data | string | |
| $params | array |
| Type | Description |
|---|---|
| string |

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

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

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

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

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

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

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

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