Enumeration Caseswift-png 4.4.5PNG

    v16

    Pixels are stored as 16-bit grayscale values.

    PNG.Format.Pixel.swift:40
    case v16

    An image with this pixel format has a bit depth and a color depth of 16. Each sample is in the range 0 ... 65535.

    Other cases

    • case v1

      Pixels are stored as 1-bit grayscale values.

    • case v2

      Pixels are stored as 2-bit grayscale values.

    • case v4

      Pixels are stored as 4-bit grayscale values.

    • case v8

      Pixels are stored as 8-bit grayscale values.

    • case rgb8

      Pixels are stored as 8-bit RGB triplets.

    • case rgb16

      Pixels are stored as 16-bit RGB triplets.

    • case indexed1

      Pixels are stored as 1-bit indices.

    • case indexed2

      Pixels are stored as 2-bit indices.

    • case indexed4

      Pixels are stored as 4-bit indices.

    • case indexed8

      Pixels are stored as 8-bit indices.

    • case va8

      Pixels are stored as 8-bit grayscale-alpha pairs.

    • case va16

      Pixels are stored as 16-bit grayscale-alpha pairs.

    • case rgba8

      Pixels are stored as 8-bit RGBA quadruplets.

    • case rgba16

      Pixels are stored as 16-bit RGBA quadruplets.