THotPDF.DecodeLoadedImageStream Method

Decodes one loaded image XObject stream into a caller-owned TBitmap, including supported filter and color-space processing

Declaration

function DecodeLoadedImageStream(AImageStream: THPDFStreamObject): TBitmap;

Unit

HPDFDoc

Parameters

NamePurpose
AImageStreamLoaded image XObject stream to inspect and decode

Return value

Returns a newly allocated TBitmap on success or nil when the image format or geometry is unsupported

Usage notes

Related APIs