public final class InlineImageParsingUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InlineImageParsingUtils.InlineImageParseException
Simple class in case users need to differentiate an exception from processing inline images vs other exceptions
|
Modifier and Type | Method and Description |
---|---|
static PdfStream |
parse(PdfCanvasParser ps, PdfDictionary colorSpaceDic)
Parses an inline image from the provided content parser.
|
public static PdfStream parse(PdfCanvasParser ps, PdfDictionary colorSpaceDic) throws IOException
ps
- the content parser to use for reading the image.
colorSpaceDic
- a color space dictionary
IOException
- if anything goes wring with the parsing
InlineImageParsingUtils.InlineImageParseException
- if parsing of the inline image failed due to issues specific to inline image processing
Copyright © 1998–2020 iText Group NV. All rights reserved.