Instance Propertyswift-png 4.4.5PNG
serialized
Encodes this physical dimensions descriptor as the contents of a pHYs
chunk.
var serialized: [UInt8] { get }
Other members in extension
Types
enum Unit
A unit of measurement.
Type members
init(density: (x: Int, y: Int, unit: Unit?)
) Creates a physical dimensions descriptor.
init(parsing: [UInt8]
) throws Creates a physical dimensions descriptor by parsing the given chunk data.
Instance members
let density: (x: Int, y: Int, unit: Unit?)
The number of pixels in each dimension per the given
unit
of measurement.var description: String