openSequence
open fun openSequence(parameters: HeifEncodeParameters, keyFrameInterval: Int): HeifSequenceEncoder?(source)
Opens an encoder of one image sequence (#177), the pictures of one track of a HEIF file, coded as parameters ask, or returns null when this encoder codes still pictures only, as the default does. The core calls it for ImageKodec.encodeAvif and ImageKodec.encodeHeic with an animation, once for the colour track and once more for an alpha track. keyFrameInterval above 0 asks for a picture that needs no earlier one (a sync sample) at least every that many pictures; 0 asks for the first alone.