Constants — pillow-heif 1.4.0 documentation

# Constants

class pillow_heif.HeifColorPrimaries(*values)

  Possible NCLX color_primaries values.

  ITU_R_BT_709_5 = 1

    g=0.3;0.6, b=0.15;0.06, r=0.64;0.33, w=0.3127,0.3290

  UNSPECIFIED = 2

    No color primaries

  ITU_R_BT_470_6_SYSTEM_M = 4

    Unknown

  ITU_R_BT_470_6_SYSTEM_B_G = 5

    Unknown

  ITU_R_BT_601_6 = 6

    Unknown

  SMPTE_240M = 7

    Unknown

  GENERIC_FILM = 8

    Unknown

  ITU_R_BT_2020_2_AND_2100_0 = 9

    Unknown

  SMPTE_ST_428_1 = 10

    Unknown

  SMPTE_RP_431_2 = 11

    Unknown

  SMPTE_EG_432_1 = 12

    Unknown

  EBU_TECH_3213_E = 22

    Unknown

class pillow_heif.HeifTransferCharacteristics(*values)

  Possible NCLX transfer_characteristics values.

  ITU_R_BT_709_5 = 1

    Unknown

  UNSPECIFIED = 2

    No transfer characteristics

  ITU_R_BT_470_6_SYSTEM_M = 4

    Unknown

  ITU_R_BT_470_6_SYSTEM_B_G = 5

    Unknown

  ITU_R_BT_601_6 = 6

    Unknown

  SMPTE_240M = 7

    Unknown

  LINEAR = 8

    Unknown

  LOGARITHMIC_100 = 9

    Unknown

  LOGARITHMIC_100_SQRT10 = 10

    Unknown

  IEC_61966_2_4 = 11

    Unknown

  ITU_R_BT_1361 = 12

    Unknown

  IEC_61966_2_1 = 13

    Unknown

  ITU_R_BT_2020_2_10BIT = 14

    Unknown

  ITU_R_BT_2020_2_12BIT = 15

    Unknown

  ITU_R_BT_2100_0_PQ = 16

    Unknown

  SMPTE_ST_428_1 = 17

    Unknown

  ITU_R_BT_2100_0_HLG = 18

    Unknown

class pillow_heif.HeifMatrixCoefficients(*values)

  Possible NCLX matrix_coefficients values.

  RGB_GBR = 0

    Unknown

  ITU_R_BT_709_5 = 1

    Unknown

  UNSPECIFIED = 2

    Unknown

  US_FCC_T47 = 4

    Unknown

  ITU_R_BT_470_6_SYSTEM_B_G = 5

    Unknown

  ITU_R_BT_601_6 = 6

    Unknown

  SMPTE_240M = 7

    Unknown

  YCGCO = 8

    Unknown

  ITU_R_BT_2020_2_NON_CONSTANT_LUMINANCE = 9

    Unknown

  ITU_R_BT_2020_2_CONSTANT_LUMINANCE = 10

    Unknown

  SMPTE_ST_2085 = 11

    Unknown

  CHROMATICITY_DERIVED_NON_CONSTANT_LUMINANCE = 12

    Unknown

  CHROMATICITY_DERIVED_CONSTANT_LUMINANCE = 13

    Unknown

  ICTCP = 14

    Unknown

class pillow_heif.HeifDepthRepresentationType(*values)

  Possible values of the `HeifDepthImage.info['metadata']['representation_type']`.

  UNIFORM_INVERSE_Z = 0

    Unknown

  UNIFORM_DISPARITY = 1

    Unknown

  UNIFORM_Z = 2

    Unknown

  NON_UNIFORM_DISPARITY = 3

    Unknown