PDFium Delphi Component Docs

ThumbnailDecodedData method

Component: TPdf  ·  Unit: PDFium
Reads 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 handles the pixels itself rather than going through a bitmap

For the stored bytes with their encoding intact, use ThumbnailRawData

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

See Also

ThumbnailRawData, ExtractThumbnail, Thumbnail