TCPDF_FILTERS Klassenreferenz

Öffentliche, statische Methoden

static getAvailableFilters ()
 
static decodeFilter ($filter, $data)
 
static decodeFilterStandard ($data)
 
static decodeFilterASCIIHexDecode ($data)
 
static decodeFilterASCII85Decode ($data)
 
static decodeFilterLZWDecode ($data)
 
static decodeFilterFlateDecode ($data)
 
static decodeFilterRunLengthDecode ($data)
 
static decodeFilterCCITTFaxDecode ($data)
 
static decodeFilterJBIG2Decode ($data)
 
static decodeFilterDCTDecode ($data)
 
static decodeFilterJPXDecode ($data)
 
static decodeFilterCrypt ($data)
 
static Error ($msg)
 

Statische, private Attribute

static $available_filters = array('ASCIIHexDecode', 'ASCII85Decode', 'LZWDecode', 'FlateDecode', 'RunLengthDecode')
 

Ausführliche Beschreibung

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

Definiert in Zeile 51 der Datei tcpdf_filters.php.

Dokumentation der Elementfunktionen

static decodeFilter (   $filter,
  $data 
)
static

Decode data using the specified filter type.

Parameter
$filter(string) Filter name.
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 79 der Datei tcpdf_filters.php.

Wird benutzt von TCPDF_PARSER\decodeStream().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

static decodeFilterASCII85Decode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 190 der Datei tcpdf_filters.php.

static decodeFilterASCIIHexDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 150 der Datei tcpdf_filters.php.

static decodeFilterCCITTFaxDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 408 der Datei tcpdf_filters.php.

static decodeFilterCrypt (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 460 der Datei tcpdf_filters.php.

static decodeFilterDCTDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 434 der Datei tcpdf_filters.php.

static decodeFilterFlateDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 355 der Datei tcpdf_filters.php.

static decodeFilterJBIG2Decode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 421 der Datei tcpdf_filters.php.

static decodeFilterJPXDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 447 der Datei tcpdf_filters.php.

static decodeFilterLZWDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 274 der Datei tcpdf_filters.php.

static decodeFilterRunLengthDecode (   $data)
static

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

Parameter
$data(string) Data to decode.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 371 der Datei tcpdf_filters.php.

static decodeFilterStandard (   $data)
static

Standard Default decoding filter (leaves data unchanged).

Parameter
$data(string) Data to decode.
Rückgabe
Decoded data string.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 138 der Datei tcpdf_filters.php.

static Error (   $msg)
static

Throw an exception.

Parameter
$msg(string) The error message
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 473 der Datei tcpdf_filters.php.

static getAvailableFilters ( )
static

Get a list of available decoding filters.

Rückgabe
(array) Array of available filter decoders.
Seit
1.0.000 (2011-05-23) static

Definiert in Zeile 67 der Datei tcpdf_filters.php.

Wird benutzt von TCPDF_PARSER\decodeStream().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Dokumentation der Datenelemente

$available_filters = array('ASCIIHexDecode', 'ASCII85Decode', 'LZWDecode', 'FlateDecode', 'RunLengthDecode')
staticprivate

Define a list of available filter decoders. static

Definiert in Zeile 57 der Datei tcpdf_filters.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.