openrndr / org.openrndr.draw / ImageFileFormat

ImageFileFormat

enum class ImageFileFormat (source)

File format used while saving to file

Enum Values

JPG

PNG

EXR

Properties

extensions

val extensions: List<String>

mimeType

val mimeType: String

Companion Object Functions

guessFromExtension

fun guessFromExtension(file: File): ImageFileFormat