Skip to main content

Function: addRangeMetadata()

addRangeMetadata(image): Record<string, unknown>

Compute MIN_VALUE, MAX_VALUE, RANGE, and AVG_VALUE from RGB channels in a single pass. Adds these to the returned metadata object.

Parameters​

image​

HdrifyImage

Returns​

Record<string, unknown>