Skip to main content

Module camera_profile

Module camera_profile 

Source
Expand description

DNG camera profiles: the colour matrices, hue/saturation/value tables and tone curve of a DNG Camera Profile (.dcp file) or of the profile tags embedded in a DNG.

This module only holds and parses the data; the flashraw crate renders with it. A DCP is a TIFF-like file with the magic IIRC in place of the TIFF version, always little-endian, whose single IFD uses the DNG profile tags.

Structs§

CameraProfile
A DNG camera profile.
ProfileTable
A hue/saturation/value table (ProfileHueSatMapData, ProfileLookTableData).

Enums§

TableEncoding
How the RGB values are encoded before a table converts them to HSV (ProfileHueSatMapEncoding, ProfileLookTableEncoding).