writeGifImage

fun Sink.writeGifImage(imageData: QuantizedImageData, durationCentiseconds: Int, disposalMethod: DisposalMethod)(source)

Encodes the given quantized image data to a GIF frame and writes it to the sink.

Receiver

The Sink to write the GIF data to.

Parameters

imageData

The image data to write.

durationCentiseconds

The duration of the frame in centiseconds.

disposalMethod

The disposal method to use for the frame.