OpenExrDeepDataMode Enum

Selects how the pixels of an OpenEXR deep image are decoded (OpenExrDecodingOptions.DeepData).

public enum OpenExrDeepDataMode

Remarks

A deep image stores a list of samples per pixel, each at its own depth (the Z channel, and ZBack for a sample that covers a range of depths), so that images can be merged by depth. An image of the library has one color per pixel: decoding a deep image composites its samples, and the depths are lost.

Fields

NameValueDescription
Reject0Deep images are rejected with an UnsupportedImageFeatureException, since their depths would be lost. This is the default.
Flatten1The samples of each pixel are sorted by depth and composited front to back with the over operation, as OpenEXR flattens deep data: the image has the color and the alpha of the composite. The channels Z and ZBack give the depths and are not decoded as colors.