public class ResultImage extends ResultElement
bbox, page
Constructor and Description |
---|
ResultImage() |
ResultImage(byte[] bytes) |
ResultImage(byte[] bytes, com.duallab.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.duallab.pdf2data.structure.geom.Rectangle rect)
public byte[] getBytes()
public RenderedImage getImage() throws IOException
IOException
Copyright © 2020. All rights reserved.