Admidio API
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Packages

  • com
    • tecnick
      • tcpdf
  • None
  • PHPMailer
    • easypeasyics
  • PHPWavUtils
  • Securimage
    • classes

Classes

  • Datamatrix
  • PDF417
  • QRcode
  • TCPDF
  • TCPDF2DBarcode
  • TCPDF_COLORS
  • TCPDF_FILTERS
  • TCPDF_FONT_DATA
  • TCPDF_FONTS
  • TCPDF_IMAGES
  • TCPDF_IMPORT
  • TCPDF_PARSER
  • TCPDF_STATIC
  • TCPDFBarcode

Functions

  • str_split

Class TCPDF_FILTERS

Package: com\tecnick\tcpdf
Author: Nicola Asuni - info@tecnick.com
Version: 1.0.001
Brief: This is a PHP class for decoding common PDF filters.
Class:

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


Located at include/tcpdf_filters.php

Methods summary

public static (array)
# getAvailableFilters( )

Get a list of available decoding filters.

Get a list of available decoding filters.

Returns

(array)
Array of available filter decoders.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilter( $filter, $data )

Decode data using the specified filter type.

Decode data using the specified filter type.

Parameters

$filter
Filter name.
$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterStandard( $data )

Standard Default decoding filter (leaves data unchanged).

Standard Default decoding filter (leaves data unchanged).

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterASCIIHexDecode( $data )

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

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

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterASCII85Decode( $data )

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

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

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterLZWDecode( $data )

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

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

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterFlateDecode( $data )

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

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

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static
# decodeFilterRunLengthDecode( $data )

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

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

Parameters

$data
Data to decode.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterCCITTFaxDecode( $data )

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).

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).

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterJBIG2Decode( $data )

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).

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).

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterDCTDecode( $data )

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.

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.

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterJPXDecode( $data )

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

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

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static Decoded
# decodeFilterCrypt( $data )

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

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

Parameters

$data
Data to decode.

Returns

Decoded
data string.

Since

1.0.000 (2011-05-23)

Public

static
public static
# Error( $msg )

Throw an exception.

Throw an exception.

Parameters

$msg
The error message

Since

1.0.000 (2011-05-23)

Public

static

Properties summary

private static array $available_filters

Define a list of available filter decoders.

Define a list of available filter decoders.

Private

static
# array('ASCIIHexDecode', 'ASCII85Decode', 'LZWDecode', 'FlateDecode', 'RunLengthDecode')
Admidio API API documentation generated by ApiGen