public final class InlineImageUtils
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
InlineImageUtils.InlineImageParseException |
Simple class in case users need to differentiate an exception from processing
inline images vs other exceptions
|
Modifier and Type | Method | Description |
---|---|---|
static InlineImageInfo |
parseInlineImage(PdfContentParser ps,
PdfDictionary colorSpaceDic) |
Parses an inline image from the provided content parser.
|
public static InlineImageInfo parseInlineImage(PdfContentParser ps, PdfDictionary colorSpaceDic) throws java.io.IOException
ps
- the content parser to use for reading the image.colorSpaceDic
- a color space dictionaryjava.io.IOException
- if anything goes wring with the parsingInlineImageUtils.InlineImageParseException
- if parsing of the inline image failed due to issues specific to inline image processingCopyright © 1998–2018. All rights reserved.