ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters). More...
Static Public Member Functions | |
static | getAvailableFilters () |
Get a list of available decoding filters. More... | |
static | decodeFilter ($filter, $data) |
Decode data using the specified filter type. More... | |
static | decodeFilterStandard ($data) |
Standard Default decoding filter (leaves data unchanged). More... | |
static | decodeFilterASCIIHexDecode ($data) |
ASCIIHexDecode Decodes data encoded in an ASCII hexadecimal representation, reproducing the original binary data. More... | |
static | decodeFilterASCII85Decode ($data) |
ASCII85Decode Decodes data encoded in an ASCII base-85 representation, reproducing the original binary data. More... | |
static | decodeFilterLZWDecode ($data) |
LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive compression method, reproducing the original text or binary data. More... | |
static | decodeFilterFlateDecode ($data) |
FlateDecode Decompresses data encoded using the zlib/deflate compression method, reproducing the original text or binary data. More... | |
static | decodeFilterRunLengthDecode ($data) |
RunLengthDecode Decompresses data encoded using a byte-oriented run-length encoding algorithm. More... | |
static | 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... | |
static | 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... | |
static | 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... | |
static | decodeFilterJPXDecode ($data) |
JPXDecode (NOT IMPLEMETED) Decompresses data encoded using the wavelet-based JPEG2000 standard, reproducing the original image data. More... | |
static | decodeFilterCrypt ($data) |
Crypt (NOT IMPLEMETED) Decrypts data encrypted by a security handler, reproducing the data as it was before encryption. More... | |
static | Error ($msg) |
This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. More... | |
Static Private Attributes | |
static | $available_filters = array('ASCIIHexDecode', 'ASCII85Decode', 'LZWDecode', 'FlateDecode', 'RunLengthDecode') |
Define a list of available filter decoders. More... | |
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.
|
static |
Decode data using the specified filter type.
$filter | (string) Filter name. |
$data | (string) Data to decode. |
Definition at line 79 of file tcpdf_filters.php.
References $data.
|
static |
ASCII85Decode Decodes data encoded in an ASCII base-85 representation, reproducing the original binary data.
$data | (string) Data to decode. |
Definition at line 190 of file tcpdf_filters.php.
References $data.
|
static |
ASCIIHexDecode Decodes data encoded in an ASCII hexadecimal representation, reproducing the original binary data.
$data | (string) Data to decode. |
Definition at line 150 of file tcpdf_filters.php.
References $data.
|
static |
CCITTFaxDecode (NOT IMPLEMETED) Decompresses data encoded using the CCITT facsimile standard, reproducing the original data (typically monochrome image data at 1 bit per pixel).
$data | (string) Data to decode. |
Definition at line 408 of file tcpdf_filters.php.
References $data.
|
static |
Crypt (NOT IMPLEMETED) Decrypts data encrypted by a security handler, reproducing the data as it was before encryption.
$data | (string) Data to decode. |
Definition at line 456 of file tcpdf_filters.php.
References $data.
|
static |
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.
$data | (string) Data to decode. |
Definition at line 432 of file tcpdf_filters.php.
References $data.
|
static |
FlateDecode Decompresses data encoded using the zlib/deflate compression method, reproducing the original text or binary data.
$data | (string) Data to decode. |
Definition at line 355 of file tcpdf_filters.php.
References $data.
|
static |
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).
$data | (string) Data to decode. |
Definition at line 420 of file tcpdf_filters.php.
References $data.
|
static |
JPXDecode (NOT IMPLEMETED) Decompresses data encoded using the wavelet-based JPEG2000 standard, reproducing the original image data.
$data | (string) Data to decode. |
Definition at line 444 of file tcpdf_filters.php.
References $data.
|
static |
LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive compression method, reproducing the original text or binary data.
$data | (string) Data to decode. |
Definition at line 274 of file tcpdf_filters.php.
References $data.
|
static |
RunLengthDecode Decompresses data encoded using a byte-oriented run-length encoding algorithm.
$data | (string) Data to decode. |
Definition at line 371 of file tcpdf_filters.php.
References $data.
|
static |
Standard Default decoding filter (leaves data unchanged).
$data | (string) Data to decode. |
Definition at line 138 of file tcpdf_filters.php.
References $data.
|
static |
This method is automatically called in case of fatal error; it simply outputs the message and halts the execution.
$msg | (string) The error message |
Definition at line 468 of file tcpdf_filters.php.
|
static |
Get a list of available decoding filters.
Definition at line 67 of file tcpdf_filters.php.
|
staticprivate |