PHOTOMETRIC

class tifffile.PHOTOMETRIC(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Values of PhotometricInterpretation tag.

The color space of the image.

MINISWHITE = 0

For bilevel and grayscale images, 0 is imaged as white.

MINISBLACK = 1

For bilevel and grayscale images, 0 is imaged as black.

RGB = 2

Chroma components are Red, Green, Blue.

PALETTE = 3

Single chroma component is index into colormap.

SEPARATED = 5

Chroma components are Cyan, Magenta, Yellow, and Key (black).

YCBCR = 6

Chroma components are Luma, blue-difference, and red-difference.

CFA = 32803

Color Filter Array.