public final class InlineImageUtils extends Object
| Modifier and Type | Class and 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 and 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 IOException
ps - the content parser to use for reading the image.
colorSpaceDic - a color space dictionary
IOException - if anything goes wring with the parsing
InlineImageUtils.InlineImageParseException - if parsing of the inline image failed due to issues specific to inline image processing
Copyright © 1998–2024. All rights reserved.