encode
abstract fun encode(planes: HeifPlanes, cancellationCheck: () -> Unit?): List<HeifCodedSample>(source)
Codes the next picture, planes, and returns the samples that are ready, in decoding order: none while the encoder holds pictures back, one, or several.