InputType
Inheritance: java.lang.Object, java.lang.Enum
public enum InputType extends Enum<InputType>
Types of image/ documents for processing / recognition.
Fields
Field | Description |
---|---|
SingleImage | Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, InputStream, BufferedImage. |
Scanned PDF document from file or from InputStream. | |
TIFF | Multipage TIFF, TIF document from file or from InputStream. |
URL | Link on the image. |
Directory | Path to the directory. |
Zip | Full name of the ZIP archive. |
Base64 | base64 string with the image or path to the .txt file with the base64 content. |
Methods
Method | Description |
---|---|
values() | |
valueOf(String name) |
SingleImage
public static final InputType SingleImage
Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, InputStream, BufferedImage.
public static final InputType PDF
Scanned PDF document from file or from InputStream.
TIFF
public static final InputType TIFF
Multipage TIFF, TIF document from file or from InputStream.
URL
public static final InputType URL
Link on the image. Supports GIF, PNG, JPEG, BMP, TIFF.
Directory
public static final InputType Directory
Path to the directory. Nested archives and folders are not supported. Supports GIF, PNG, JPEG, BMP, TIFF. Default amount of processed images is all.
Zip
public static final InputType Zip
Full name of the ZIP archive. Nested archives and folders are not supported. Supports GIF, PNG, JPEG, BMP, TIFF, JFIF. Default amount of processed images is all.
Base64
public static final InputType Base64
base64 string with the image or path to the .txt file with the base64 content. Supports GIF, PNG, JPEG, BMP, TIFF.
values()
public static InputType[] values()
Returns: com.aspose.ocr.InputType[]
valueOf(String name)
public static InputType valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: InputType