Skip to contents

Returns the names of the filters PDFium applies, in order, to decode the embedded image. Common values include "DCTDecode" (JPEG), "FlateDecode" (Deflate), "JBIG2Decode", "JPXDecode" (JPEG 2000), "CCITTFaxDecode", and "ASCII85Decode". Wraps FPDFImageObj_GetImageFilterCount plus repeated FPDFImageObj_GetImageFilter calls.

Usage

pdf_image_filters(obj)

Arguments

obj

A pdfium_obj of type "image".

Value

A character vector. Empty when the image stream has no filters declared (e.g. uncompressed inline images).

See also