@dragonspark/chroma-kit
    Preparing search index...

    Function jzazbzPQForward

    • Applies the Perceptual Quantizer (PQ) function used in the JzAzBz color space.

      This function converts from the linear light domain to the encoded non-linear domain. It is used as part of the conversion from JzAzBz to XYZ color space.

      Parameters

      • Ep: number

        The linear light value to convert

      • OptionalpeakLuminance: number = 10000

        The peak luminance of the display, in nits

      Returns number

      The encoded non-linear value