Enumeration Caseswift-png 4.4.5PNG

    rgba16(palette:fill:)

    A 16-bit RGBA color format.

    PNG.Format.swift:237
    case rgba16(palette: [(r: UInt8, g: UInt8, b: UInt8)], fill: (r: UInt16, g: UInt16, b: UInt16)?)

    Parameters

    palette

    An palette of suggested posterization values. Most PNG viewers ignore this field. Although the image color depth is 16, the palette atom type is UInt8, not UInt16.

    This field is unrelated to, and should not be confused with a SuggestedPalette.

    fill

    An optional background color. Most PNG viewers ignore this field.

    This color format has a pixel format of rgba16.

    Other cases