Table of Contents

Class InlineImageParsingUtils

Namespace
iText.Kernel.Pdf.Canvas.Parser.Util
Assembly
itext.kernel.dll

Utility methods to help with processing of inline images

public sealed class InlineImageParsingUtils
Inheritance
InlineImageParsingUtils
Inherited Members

Methods

Parse(PdfCanvasParser, PdfDictionary)

Parses an inline image from the provided content parser.

public static PdfStream Parse(PdfCanvasParser ps, PdfDictionary colorSpaceDic)

Parameters

ps PdfCanvasParser

the content parser to use for reading the image.

colorSpaceDic PdfDictionary

a color space dictionary

Returns

PdfStream

the parsed image

Remarks

Parses an inline image from the provided content parser. The parser must be positioned immediately following the BI operator in the content stream. The parser will be left with current position immediately following the EI operator that terminates the inline image