saveImage

open fun saveImage(imageData: ImageData, filename: String, formatHint: ImageFileFormat?)(source)

Save an image to filename

Since

0.4.5

Parameters

imageData

an ImageData instance holding the pixel data to be saved

filename

the filename to save the image to

formatHint

the format to use


abstract fun saveImage(imageData: ImageData, filename: String, configuration: ImageSaveConfiguration)(source)
open fun saveImage(imageData: ImageData, filename: String, saveContext: ImageSaveContext.() -> ImageSaveConfiguration)(source)