public enum FrameCaptureFormat extends java.lang.Enum<FrameCaptureFormat>
FrameCaptureFileType is an enumeration defining the file type
for the frames captured by the Scanner.
The type is one of:
| GREYSCALE8BPP | Frames captured by the Scanner are encoded as Greyscale 8bpp |
| JPEG | Frames captured by the Scanner are encoded as jpeg |
| BITMAP | Frames captured by the Scanner are encoded as bitmap |
| Enum Constant and Description |
|---|
BITMAP
Frames captured by the Scanner are stored as bitmap
|
GREYSCALE8BPP
Frames captured by the Scanner are stored as Greyscale 8bpp
|
JPEG
Frames captured by the Scanner are stored as jpeg
|
| Modifier and Type | Method and Description |
|---|---|
static FrameCaptureFormat |
fromOrdinal(int n) |
static FrameCaptureFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrameCaptureFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameCaptureFormat GREYSCALE8BPP
public static final FrameCaptureFormat JPEG
public static final FrameCaptureFormat BITMAP
public static FrameCaptureFormat[] values()
for (FrameCaptureFormat c : FrameCaptureFormat.values()) System.out.println(c);
public static FrameCaptureFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FrameCaptureFormat fromOrdinal(int n)