setJpegQuality

open fun setJpegQuality(@IntRange(from = 0, to = 100) quality: Int)

Sets quality for image if it has to be re-compressed to JPEG.

Parameters

quality

Quality between 0 and 100, default is 98.