Package adams.data.opencv
Enum ImwriteFlag
- java.lang.Object
-
- java.lang.Enum<ImwriteFlag>
-
- adams.data.opencv.ImwriteFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<ImwriteFlag>
public enum ImwriteFlag extends Enum<ImwriteFlag>
The flags that imwrite supports. https://docs.opencv.org/4.6.0/d8/d6a/group__imgcodecs__flags.html#ga292d81be8d76901bff7988d18d2b42ac- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFlag()
Returns the OpenCV flag.static ImwriteFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImwriteFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMWRITE_JPEG_QUALITY
public static final ImwriteFlag IMWRITE_JPEG_QUALITY
-
IMWRITE_JPEG_PROGRESSIVE
public static final ImwriteFlag IMWRITE_JPEG_PROGRESSIVE
-
IMWRITE_JPEG_OPTIMIZE
public static final ImwriteFlag IMWRITE_JPEG_OPTIMIZE
-
IMWRITE_JPEG_RST_INTERVAL
public static final ImwriteFlag IMWRITE_JPEG_RST_INTERVAL
-
IMWRITE_JPEG_LUMA_QUALITY
public static final ImwriteFlag IMWRITE_JPEG_LUMA_QUALITY
-
IMWRITE_JPEG_CHROMA_QUALITY
public static final ImwriteFlag IMWRITE_JPEG_CHROMA_QUALITY
-
IMWRITE_PNG_COMPRESSION
public static final ImwriteFlag IMWRITE_PNG_COMPRESSION
-
IMWRITE_PNG_STRATEGY
public static final ImwriteFlag IMWRITE_PNG_STRATEGY
-
IMWRITE_PNG_BILEVEL
public static final ImwriteFlag IMWRITE_PNG_BILEVEL
-
IMWRITE_PXM_BINARY
public static final ImwriteFlag IMWRITE_PXM_BINARY
-
IMWRITE_EXR_TYPE
public static final ImwriteFlag IMWRITE_EXR_TYPE
-
IMWRITE_EXR_COMPRESSION
public static final ImwriteFlag IMWRITE_EXR_COMPRESSION
-
IMWRITE_WEBP_QUALITY
public static final ImwriteFlag IMWRITE_WEBP_QUALITY
-
IMWRITE_PAM_TUPLETYPE
public static final ImwriteFlag IMWRITE_PAM_TUPLETYPE
-
IMWRITE_TIFF_RESUNIT
public static final ImwriteFlag IMWRITE_TIFF_RESUNIT
-
IMWRITE_TIFF_XDPI
public static final ImwriteFlag IMWRITE_TIFF_XDPI
-
IMWRITE_TIFF_YDPI
public static final ImwriteFlag IMWRITE_TIFF_YDPI
-
IMWRITE_TIFF_COMPRESSION
public static final ImwriteFlag IMWRITE_TIFF_COMPRESSION
-
IMWRITE_JPEG2000_COMPRESSION_X1000
public static final ImwriteFlag IMWRITE_JPEG2000_COMPRESSION_X1000
-
-
Method Detail
-
values
public static ImwriteFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImwriteFlag c : ImwriteFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImwriteFlag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFlag
public int getFlag()
Returns the OpenCV flag.- Returns:
- the flag
-
-