HeifEncodeParameters
class HeifEncodeParameters(val quality: Int, val lossless: Boolean, val effort: Int, val colorPrimaries: Int? = null, val transferCharacteristics: Int? = null, val matrixCoefficients: Int? = null)(source)
What a HeifEncoder makes of one picture. quality runs from 0 to 100, higher better, and is ignored when lossless asks for the planes to decode exactly as given. effort runs from 1 (fast) to 3 (thorough). The colour fields are the code points of ITU-T H.273 for the codec to signal in its own headers, or null to signal none, as for an alpha plane; HeifPlanes.fullRange gives the range.