PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions
TCPDF_FILTERS Class Reference

This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters). More...

Public Member Functions

 getAvailableFilters ()
 Get a list of available decoding filters. More...
 
 decodeFilter ($filter, $data)
 Decode data using the specified filter type. More...
 
 decodeFilterStandard ($data)
 Standard Default decoding filter (leaves data unchanged). More...
 
 decodeFilterASCIIHexDecode ($data)
 ASCIIHexDecode Decodes data encoded in an ASCII hexadecimal representation, reproducing the original binary data. More...
 
 decodeFilterASCII85Decode ($data)
 ASCII85Decode Decodes data encoded in an ASCII base-85 representation, reproducing the original binary data. More...
 
 decodeFilterLZWDecode ($data)
 LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive compression method, reproducing the original text or binary data. More...
 
 decodeFilterFlateDecode ($data)
 FlateDecode Decompresses data encoded using the zlib/deflate compression method, reproducing the original text or binary data. More...
 
 decodeFilterRunLengthDecode ($data)
 RunLengthDecode Decompresses data encoded using a byte-oriented run-length encoding algorithm. More...
 
 decodeFilterCCITTFaxDecode ($data)
 CCITTFaxDecode (NOT IMPLEMETED) Decompresses data encoded using the CCITT facsimile standard, reproducing the original data (typically monochrome image data at 1 bit per pixel). More...
 
 decodeFilterJBIG2Decode ($data)
 JBIG2Decode (NOT IMPLEMETED) Decompresses data encoded using the JBIG2 standard, reproducing the original monochrome (1 bit per pixel) image data (or an approximation of that data). More...
 
 decodeFilterDCTDecode ($data)
 DCTDecode (NOT IMPLEMETED) Decompresses data encoded using a DCT (discrete cosine transform) technique based on the JPEG standard, reproducing image sample data that approximates the original data. More...
 
 decodeFilterJPXDecode ($data)
 JPXDecode (NOT IMPLEMETED) Decompresses data encoded using the wavelet-based JPEG2000 standard, reproducing the original image data. More...
 
 decodeFilterCrypt ($data)
 Crypt (NOT IMPLEMETED) Decrypts data encrypted by a security handler, reproducing the data as it was before encryption. More...
 
 Error ($msg)
 This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. More...
 

Detailed Description

This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters).


Definition at line 51 of file tcpdf_filters.php.

Member Function Documentation

decodeFilter (   $filter,
  $data 
)

Decode data using the specified filter type.

Parameters
$filter(string) Filter name.
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 79 of file tcpdf_filters.php.

decodeFilterASCII85Decode (   $data)

ASCII85Decode Decodes data encoded in an ASCII base-85 representation, reproducing the original binary data.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 190 of file tcpdf_filters.php.

decodeFilterASCIIHexDecode (   $data)

ASCIIHexDecode Decodes data encoded in an ASCII hexadecimal representation, reproducing the original binary data.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 150 of file tcpdf_filters.php.

decodeFilterCCITTFaxDecode (   $data)

CCITTFaxDecode (NOT IMPLEMETED) Decompresses data encoded using the CCITT facsimile standard, reproducing the original data (typically monochrome image data at 1 bit per pixel).

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 408 of file tcpdf_filters.php.

decodeFilterCrypt (   $data)

Crypt (NOT IMPLEMETED) Decrypts data encrypted by a security handler, reproducing the data as it was before encryption.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 456 of file tcpdf_filters.php.

decodeFilterDCTDecode (   $data)

DCTDecode (NOT IMPLEMETED) Decompresses data encoded using a DCT (discrete cosine transform) technique based on the JPEG standard, reproducing image sample data that approximates the original data.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 432 of file tcpdf_filters.php.

decodeFilterFlateDecode (   $data)

FlateDecode Decompresses data encoded using the zlib/deflate compression method, reproducing the original text or binary data.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 355 of file tcpdf_filters.php.

decodeFilterJBIG2Decode (   $data)

JBIG2Decode (NOT IMPLEMETED) Decompresses data encoded using the JBIG2 standard, reproducing the original monochrome (1 bit per pixel) image data (or an approximation of that data).

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 420 of file tcpdf_filters.php.

decodeFilterJPXDecode (   $data)

JPXDecode (NOT IMPLEMETED) Decompresses data encoded using the wavelet-based JPEG2000 standard, reproducing the original image data.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 444 of file tcpdf_filters.php.

decodeFilterLZWDecode (   $data)

LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive compression method, reproducing the original text or binary data.

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 274 of file tcpdf_filters.php.

decodeFilterRunLengthDecode (   $data)

RunLengthDecode Decompresses data encoded using a byte-oriented run-length encoding algorithm.

Parameters
$data(string) Data to decode.
Since
1.0.000 (2011-05-23)

Definition at line 371 of file tcpdf_filters.php.

decodeFilterStandard (   $data)

Standard Default decoding filter (leaves data unchanged).

Parameters
$data(string) Data to decode.
Returns
Decoded data string.
Since
1.0.000 (2011-05-23)

Definition at line 138 of file tcpdf_filters.php.

Error (   $msg)

This method is automatically called in case of fatal error; it simply outputs the message and halts the execution.

Parameters
$msg(string) The error message
Since
1.0.000 (2011-05-23)

Definition at line 468 of file tcpdf_filters.php.

getAvailableFilters ( )

Get a list of available decoding filters.

Returns
(array) Array of available filter decoders.
Since
1.0.000 (2011-05-23)

Definition at line 67 of file tcpdf_filters.php.


The documentation for this class was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.