Filestack Documentation

Class Quality​Transform

public class QualityTransform: Transform  

Sets the quality of your JPG or WEBP image without the danger of possibly generating a larger file.

QualityTransform QualityTransform Transform Transform QualityTransform->Transform

Superclass

Transform

:nodoc:

Initializers

init(value:​)

public init(value: Int)  

Initializes a QualityTransform object.

Parameters

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: 1...100