TCPDF_FILTERS
class TCPDF_FILTERS (View source)
Methods
Get a list of available decoding filters.
Decode data using the specified filter type.
Standard Default decoding filter (leaves data unchanged).
ASCIIHexDecode Decodes data encoded in an ASCII hexadecimal representation, reproducing the original binary data.
ASCII85Decode Decodes data encoded in an ASCII base-85 representation, reproducing the original binary data.
LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive 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.
RunLengthDecode Decompresses data encoded using a byte-oriented run-length encoding algorithm.
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).
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).
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.
JPXDecode (NOT IMPLEMETED - RETURN AN EXCEPTION) Decompresses data encoded using the wavelet-based JPEG2000 standard, reproducing the original image data.
Crypt (NOT IMPLEMETED - RETURN AN EXCEPTION) Decrypts data encrypted by a security handler, reproducing the data as it was before encryption.
Throw an exception.
Details
static array
getAvailableFilters()
Get a list of available decoding filters.
static string
decodeFilter(string $filter, string $data)
Decode data using the specified filter type.
static string
decodeFilterStandard(string $data)
Standard Default decoding filter (leaves data unchanged).
static string
decodeFilterASCIIHexDecode(string $data)
ASCIIHexDecode Decodes data encoded in an ASCII hexadecimal representation, reproducing the original binary data.
static string
decodeFilterASCII85Decode(string $data)
ASCII85Decode Decodes data encoded in an ASCII base-85 representation, reproducing the original binary data.
static string
decodeFilterLZWDecode(string $data)
LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive compression method, reproducing the original text or binary data.
static string
decodeFilterFlateDecode(string $data)
FlateDecode Decompresses data encoded using the zlib/deflate compression method, reproducing the original text or binary data.
static
decodeFilterRunLengthDecode(string $data)
RunLengthDecode Decompresses data encoded using a byte-oriented run-length encoding algorithm.
static string
decodeFilterCCITTFaxDecode(string $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).
static string
decodeFilterJBIG2Decode(string $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).
static string
decodeFilterDCTDecode(string $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.
static string
decodeFilterJPXDecode(string $data)
JPXDecode (NOT IMPLEMETED - RETURN AN EXCEPTION) Decompresses data encoded using the wavelet-based JPEG2000 standard, reproducing the original image data.
static string
decodeFilterCrypt(string $data)
Crypt (NOT IMPLEMETED - RETURN AN EXCEPTION) Decrypts data encrypted by a security handler, reproducing the data as it was before encryption.
static
Error(string $msg)
Throw an exception.