PDFium Delphi Component Docs

ThumbnailDecodedData method

Component: TPdf  ·  Unit: PDFium
Read the embedded thumbnail of the current page as decoded pixel data

Syntax

function ThumbnailDecodedData: TBytes;

ResultTBytes. The thumbnail with its stream filters decoded. Empty when the page carries no thumbnail

Description

Applies the stream filters and returns the result, which is the form to use when the caller does its own pixel handling instead of going through a bitmap

For the stored bytes with their encoding intact, use ThumbnailRawData

An empty result means no thumbnail is stored for the current page

See Also

ThumbnailRawData, ExtractThumbnail, Thumbnail