iText 9.1.0 API
iText.Kernel.Pdf.Filters.DctDecodeFilter Class Reference

Handles a DCTDecode filter. More...

Inheritance diagram for iText.Kernel.Pdf.Filters.DctDecodeFilter:
iText.Kernel.Pdf.Filters.IFilterHandler

Public Member Functions

virtual byte[]  Decode (byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
  Decode the byte[] using the provided filterName. More...
 

Detailed Description

Handles a DCTDecode filter.

Handles a DCTDecode filter. For now no modification applies and the data would be return as is (in JPEG baseline format).

Member Function Documentation

◆ Decode()

virtual byte [] iText.Kernel.Pdf.Filters.DctDecodeFilter.Decode ( byte[]  b,
PdfName  filterName,
PdfObject  decodeParams,
PdfDictionary  streamDictionary 
)
inlinevirtual

Decode the byte[] using the provided filterName.

Parameters
b the bytes that need to be decoded
filterName PdfName of the filter
decodeParams decode parameters
streamDictionary the dictionary of the stream. Can contain additional information needed to decode the byte[].
Returns
decoded byte array

Implements iText.Kernel.Pdf.Filters.IFilterHandler.