Instance Propertyswift-png 4.4.5PNG
serialized
Encodes this color precision descriptor as the contents of an sBIT
chunk.
var serialized: [UInt8] { get }
Other members in extension
Types
enum Case
A color precision case. This is a separate type for validation purposes.
Type members
init(case: Case, pixel: PNG.Format.Pixel
) Creates a color precision descriptor.
init(parsing: [UInt8], pixel: PNG.Format.Pixel
) throws Creates a color precision descriptor by parsing the given chunk data, interpreting and validating it according to the given
pixel
format.