encode
open fun encode( data: Resource<GifDrawable>, file: File, options: Options): Boolean
Content copied to clipboard
Writes the given data to the given output stream and returns True if the write completed successfully and should be committed.
Parameters
data
The data to write.
file
The file to write the data to.
options
The set of options to apply when encoding.