jpeg(withEncodingQuality:)
The JPEG image format.
Declaration
static func jpeg(withEncodingQuality encodingQuality: Float) -> AttachableImageFormatParameters
- encodingQuality:
The encoding quality to use when serializing an image. A value of
0.0indicates the lowest supported encoding quality and a value of1.0indicates the highest supported encoding quality.
Return Value
An instance of this type representing the JPEG image format with the specified encoding quality.