Instance Propertyswift-png 4.4.5PNG
b
The chromaticity of the blue component of an image, expressed as a pair of fractions.
PNG.Chromaticity.swift:23let b: (x: Percentmille, y: Percentmille)
Other members in extension
Type members
init(parsing: [UInt8]
) throws Creates a chromaticity descriptor by parsing the given chunk data.
init(w: (x: Percentmille, y: Percentmille), r: (x: Percentmille, y: Percentmille), g: (x: Percentmille, y: Percentmille), b: (x: Percentmille, y: Percentmille)
) Creates a chromaticity descriptor with the given values.
Instance members
var description: String
let g: (x: Percentmille, y: Percentmille)
The chromaticity of the green component of an image, expressed as a pair of fractions.
let r: (x: Percentmille, y: Percentmille)
The chromaticity of the red component of an image, expressed as a pair of fractions.
var serialized: [UInt8]
Encodes this chromaticity descriptor as the contents of a
cHRM
chunk.let w: (x: Percentmille, y: Percentmille)
The white point of an image, expressed as a pair of fractions.