GetImageInfoJSON

Images, document analysis

Description

Enumerates image XObject metadata as JSON without decoding pixel data

Syntax

Delphi

Function TPDFlib.GetImageInfoJSON(Out Report: WideString): Integer;

Parameters

ReportReceives a JSON array containing object number, pixel dimensions, colour space, bits per component, and filter information

Return values

The number of image records written to Report

Remarks

Metadata scanning uses memory proportional to the image count rather than the total decoded image bytes

See also

FindImages, OptimizeImages