Photometric Interpretation must be a valid value.
With an Hexadecimal Editor (e.g. HxD) change the Photometric interpretation tag id 262 (hex 0x0106
) to a non-valid value.
The basleine specification considers these values:
- 0: WhiteIsZero. For bilevel and grayscale images: 0 is imaged as white.
- 1: BlackIsZero. For bilevel and grayscale images: 0 is imaged as black.
- 2: RGB. RGB value of (0,0,0) represents black, and (255,255,255) represents white, assuming 8-bit components. The components are stored in the indicated order: first Red, then Green, then Blue.
- 3: Palette color. In this model, a color is described with a single component. The value of the component is used as an index into the red, green and blue curves in the ColorMap field to retrieve an RGB triplet that defines the color. When PhotometricInterpretation=3 is used, ColorMap must be present and SamplesPerPixel must be 1.
- 4: Transparency Mask. This means that the image is used to define an irregularly shaped region of another image in the same TIFF file. SamplesPerPixel and BitsPerSample must be 1. PackBits compression is recommended. The 1-bits define the interior of the region; the 0-bits define the exterior of the region.
These values are considered an extension:
- 5: Seperated, usually CMYK.
- 6: YCbCr
- 8: CIE Lab* (see also specification supplements 1 and 2)
- 9: CIE Lab*, alternate encoding also known as ICC Lab* (see also specification supplements 1 and 2)
The TIFF-F specification (RFC 2301) defines:
- 10: CIE Lab*, alternate encoding also known as ITU Lab*, defined in ITU-T Rec. T.42, used in the TIFF-F and TIFF-FX standard (RFC 2301). The Decode tag, if present, holds information about this particular CIE Lab* encoding.
The DNG specification adds these definitions:
- 32803: CFA (Color Filter Array)
- 34892: LinearRaw