enum cv::ImwritePAMFlags

Imwrite PAM specific tupletype flags used to define the ‘TUPETYPE’ field of a PAM file.

#include <imgcodecs.hpp>

enum 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,
};