5#ifndef OPENCV_IMGCODECS_LEGACY_CONSTANTS_H
6#define OPENCV_IMGCODECS_LEGACY_CONSTANTS_H
12 CV_LOAD_IMAGE_UNCHANGED =-1,
14 CV_LOAD_IMAGE_GRAYSCALE =0,
16 CV_LOAD_IMAGE_COLOR =1,
18 CV_LOAD_IMAGE_ANYDEPTH =2,
20 CV_LOAD_IMAGE_ANYCOLOR =4,
22 CV_LOAD_IMAGE_IGNORE_ORIENTATION =128
28 CV_IMWRITE_JPEG_QUALITY =1,
29 CV_IMWRITE_JPEG_PROGRESSIVE =2,
30 CV_IMWRITE_JPEG_OPTIMIZE =3,
31 CV_IMWRITE_JPEG_RST_INTERVAL =4,
32 CV_IMWRITE_JPEG_LUMA_QUALITY =5,
33 CV_IMWRITE_JPEG_CHROMA_QUALITY =6,
34 CV_IMWRITE_PNG_COMPRESSION =16,
35 CV_IMWRITE_PNG_STRATEGY =17,
36 CV_IMWRITE_PNG_BILEVEL =18,
37 CV_IMWRITE_PNG_STRATEGY_DEFAULT =0,
38 CV_IMWRITE_PNG_STRATEGY_FILTERED =1,
39 CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY =2,
40 CV_IMWRITE_PNG_STRATEGY_RLE =3,
41 CV_IMWRITE_PNG_STRATEGY_FIXED =4,
42 CV_IMWRITE_PXM_BINARY =32,
43 CV_IMWRITE_EXR_TYPE = 48,
44 CV_IMWRITE_WEBP_QUALITY =64,
45 CV_IMWRITE_PAM_TUPLETYPE = 128,
46 CV_IMWRITE_PAM_FORMAT_NULL = 0,
47 CV_IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1,
48 CV_IMWRITE_PAM_FORMAT_GRAYSCALE = 2,
49 CV_IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3,
50 CV_IMWRITE_PAM_FORMAT_RGB = 4,
51 CV_IMWRITE_PAM_FORMAT_RGB_ALPHA = 5,