ImageInfo
public struct ImageInfo : Decodable
A lightweight struct to hold the dimensions information for the this file, if it is an image type.
-
The width of the image.
Declaration
Swift
public let width: Double
-
The height of the image.
Declaration
Swift
public let height: Double
-
Declaration
Swift
public init(from decoder: Decoder) throws