PhotoEditViewControllerOptions
@objcMembers
@objc(PESDKPhotoEditViewControllerOptions)
open class PhotoEditViewControllerOptions : MediaEditViewControllerOptions
Options for configuring a PhotoEditViewController
.
-
The image file format of the generated high resolution image. Default is
.jpeg
.Declaration
Swift
public let outputImageFileFormat: ImageFileFormat
-
The Uniform Type Identifier (UTI) of the output image as
UTType
.Declaration
Swift
public var outputImageFileFormatUTI: CFString { get }
-
The compression quality to use when creating the output image. Default is
0.9
. This will only be used if a lossy image file format was specified inoutputImageFileFormat
.Declaration
Swift
public let compressionQuality: CGFloat
-
Creates a new instance of
PhotoEditViewControllerOptions
using the given builder.Declaration
Swift
public init(photoEditBuilder: PhotoEditViewControllerOptionsBuilder)
Parameters
photoEditBuilder
A
PhotoEditViewControllerOptionsBuilder
instance.