ThumbnailArg
public class ThumbnailArg : CustomStringConvertible, JSONRepresentable
The ThumbnailArg struct
-
The path to the image file you want to thumbnail.
Declaration
Swift
public let path: String
-
The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be preferred, while png is better for screenshots and digital arts.
Declaration
Swift
public let format: Files.ThumbnailFormat
-
The size for the thumbnail image.
Declaration
Swift
public let size: Files.ThumbnailSize
-
How to resize and crop the image to achieve the desired size.
Declaration
Swift
public let mode: Files.ThumbnailMode
-
Declaration
Swift
public var description: String { get }