public class ResultImage extends ResultElement
bbox, page
Constructor and Description |
---|
ResultImage() |
ResultImage(byte[] bytes) |
ResultImage(byte[] bytes, com.itextpdf.pdf2data.structure.geom.Rectangle rect) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Get bytes of recognized image.
|
RenderedImage |
getImage()
Get a RenderedImage instance of recognized image.
|
String |
toString()
Returns a string presentation of recognized element.
|
getBbox, getPage, setBbox, setPage
public ResultImage()
public ResultImage(byte[] bytes)
public ResultImage(byte[] bytes, com.itextpdf.pdf2data.structure.geom.Rectangle rect)
public byte[] getBytes()
public RenderedImage getImage() throws IOException
IOException
- Signals that an I/O exception has occurred.
Copyright © 2022. All rights reserved.