ImwritePAMFlags
Objective-C
NS_ENUM(int, ImwritePAMFlags) {
IMWRITE_PAM_FORMAT_NULL = 0,
IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1,
IMWRITE_PAM_FORMAT_GRAYSCALE = 2,
IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3,
IMWRITE_PAM_FORMAT_RGB = 4,
IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
}
Swift
enum ImwritePAMFlags : Int32
-
Declaration
Objective-C
IMWRITE_PAM_FORMAT_NULL = 0
Swift
case IMWRITE_PAM_FORMAT_NULL = 0
-
Declaration
Objective-C
IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1
Swift
case IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1
-
Declaration
Objective-C
IMWRITE_PAM_FORMAT_GRAYSCALE = 2
Swift
case IMWRITE_PAM_FORMAT_GRAYSCALE = 2
-
Declaration
Objective-C
IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3
Swift
case IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3
-
Declaration
Objective-C
IMWRITE_PAM_FORMAT_RGB = 4
Swift
case IMWRITE_PAM_FORMAT_RGB = 4
-
Declaration
Objective-C
IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
Swift
case IMWRITE_PAM_FORMAT_RGB_ALPHA = 5