• Gets Yuv components from Rgb components.

    Parameters

    • red: number

      The red component.

    • green: number

      The green component.

    • blue: number

      The blue component.

    • profile: YuvProfile = YuvProfile.BT_470

      The Yuv color profile.

    Returns number[]

    The Yuv components.

Generated using TypeDoc