ImwriteFlags
Objective-C
NS_ENUM(int, ImwriteFlags) {
IMWRITE_JPEG_QUALITY = 1,
IMWRITE_JPEG_PROGRESSIVE = 2,
IMWRITE_JPEG_OPTIMIZE = 3,
IMWRITE_JPEG_RST_INTERVAL = 4,
IMWRITE_JPEG_LUMA_QUALITY = 5,
IMWRITE_JPEG_CHROMA_QUALITY = 6,
IMWRITE_PNG_COMPRESSION = 16,
IMWRITE_PNG_STRATEGY = 17,
IMWRITE_PNG_BILEVEL = 18,
IMWRITE_PXM_BINARY = 32,
IMWRITE_EXR_TYPE = (3 << 4) + 0,
IMWRITE_WEBP_QUALITY = 64,
IMWRITE_PAM_TUPLETYPE = 128,
IMWRITE_TIFF_RESUNIT = 256,
IMWRITE_TIFF_XDPI = 257,
IMWRITE_TIFF_YDPI = 258,
IMWRITE_TIFF_COMPRESSION = 259,
IMWRITE_JPEG2000_COMPRESSION_X1000 = 272
}
Swift
enum ImwriteFlags : Int32
-
Declaration
Objective-C
IMWRITE_JPEG_QUALITY = 1
Swift
case IMWRITE_JPEG_QUALITY = 1
-
Declaration
Objective-C
IMWRITE_JPEG_PROGRESSIVE = 2
Swift
case IMWRITE_JPEG_PROGRESSIVE = 2
-
Declaration
Objective-C
IMWRITE_JPEG_OPTIMIZE = 3
Swift
case IMWRITE_JPEG_OPTIMIZE = 3
-
Declaration
Objective-C
IMWRITE_JPEG_RST_INTERVAL = 4
Swift
case IMWRITE_JPEG_RST_INTERVAL = 4
-
Declaration
Objective-C
IMWRITE_JPEG_LUMA_QUALITY = 5
Swift
case IMWRITE_JPEG_LUMA_QUALITY = 5
-
Declaration
Objective-C
IMWRITE_JPEG_CHROMA_QUALITY = 6
Swift
case IMWRITE_JPEG_CHROMA_QUALITY = 6
-
Declaration
Objective-C
IMWRITE_PNG_COMPRESSION = 16
Swift
case IMWRITE_PNG_COMPRESSION = 16
-
Declaration
Objective-C
IMWRITE_PNG_STRATEGY = 17
Swift
case IMWRITE_PNG_STRATEGY = 17
-
Declaration
Objective-C
IMWRITE_PNG_BILEVEL = 18
Swift
case IMWRITE_PNG_BILEVEL = 18
-
Declaration
Objective-C
IMWRITE_PXM_BINARY = 32
Swift
case IMWRITE_PXM_BINARY = 32
-
Declaration
Objective-C
IMWRITE_EXR_TYPE = (3 << 4) + 0
Swift
case IMWRITE_EXR_TYPE = 48
-
Declaration
Objective-C
IMWRITE_WEBP_QUALITY = 64
Swift
case IMWRITE_WEBP_QUALITY = 64
-
Declaration
Objective-C
IMWRITE_PAM_TUPLETYPE = 128
Swift
case IMWRITE_PAM_TUPLETYPE = 128
-
Declaration
Objective-C
IMWRITE_TIFF_RESUNIT = 256
Swift
case IMWRITE_TIFF_RESUNIT = 256
-
Declaration
Objective-C
IMWRITE_TIFF_XDPI = 257
Swift
case IMWRITE_TIFF_XDPI = 257
-
Declaration
Objective-C
IMWRITE_TIFF_YDPI = 258
Swift
case IMWRITE_TIFF_YDPI = 258
-
Declaration
Objective-C
IMWRITE_TIFF_COMPRESSION = 259
Swift
case IMWRITE_TIFF_COMPRESSION = 259
-
Declaration
Objective-C
IMWRITE_JPEG2000_COMPRESSION_X1000 = 272
Swift
case IMWRITE_JPEG2000_COMPRESSION_X1000 = 272