Class ExtractedImage
java.lang.Object
io.scanbot.sdk.multipageimageextractor.ExtractedImage
- All Implemented Interfaces:
AutoCloseable
An image extracted from a multipage image.
-
Constructor Summary
ConstructorsConstructorDescriptionExtractedImage(ImageRef image, ExtractedImageMetadata metadata) Constructs ExtractedImage with the given params. -
Method Summary
-
Constructor Details
-
ExtractedImage
Constructs ExtractedImage with the given params.- Parameters:
image- The extracted image.metadata- Metadata of the extracted image.
-
-
Method Details
-
getImage
Getter for image field. See constructor documentation for more information about the field.- Returns:
- image
-
getMetadata
Getter for metadata field. See constructor documentation for more information about the field.- Returns:
- metadata
-
close
public void close()Closes native resources (images) held by the object.- Specified by:
closein interfaceAutoCloseable
-