Enumeration Caseswift-png 4.4.5PNG

    v2(fill:key:)

    A 2-bit grayscale color format.

    PNG.Format.swift:42
    case v2(fill: UInt8?, key: UInt8?)

    Parameters

    fill

    An optional background color. The sample is unscaled, and must be in the range 0 ... 3. Most PNG viewers ignore this field.

    key

    An optional chroma key. If present, pixels matching it will be displayed as transparent, if possible. The sample is unscaled, and must be in the range 0 ... 3.

    This color format has a pixel format of v2.

    Other cases