Class
QualityTransform
public class QualityTransform: Transform
Sets the quality of your JPG or WEBP image without the danger of possibly generating a larger file.
Relationships
Superclass
Transform
:nodoc:
Initializers
init(value:)
public init(value: Int)
Initializes a QualityTransform
object.
Parameters
Name | Type | Description |
---|---|---|
value | Int |
This task will take a JPG or WEBP file and reduce the file size of the image by reducing the quality. If the file is not a JPG, the original file will be returned. If after the conversion, the resulting file is not smaller than the original, the original file will be returned. Valid range: |