SearchImage
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class SearchImage
Represents an image to search.
| Constructor | Description |
|---|---|
| SearchImage() |
| Method | Description |
|---|---|
| create(String filePath) | Creates an image from a file to search. |
| create(String filePath, int imageIndex) | Creates an image from a file to search. |
| create(InputStream stream) | Creates an image from a stream to search. |
| create(InputStream stream, int imageIndex) | Creates an image from a stream to search. |
public SearchImage()
public static SearchImage create(String filePath)
Creates an image from a file to search.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The image file path. |
Returns: SearchImage - An image to search.
public static SearchImage create(String filePath, int imageIndex)
Creates an image from a file to search.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The image file path. |
| imageIndex | int | The image index in multipage images. |
Returns: SearchImage - An image to search.
public static SearchImage create(InputStream stream)
Creates an image from a stream to search.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream | The image stream. |
Returns: SearchImage - An image to search.
public static SearchImage create(InputStream stream, int imageIndex)
Creates an image from a stream to search.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream | The image stream. |
| imageIndex | int | The image index in multipage images. |
Returns: SearchImage - An image to search.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.