loadImage
abstract fun loadImage(fileOrUrl: String, formatHint: ImageFileFormat?, allowSRGB: Boolean): ImageData(source)
Load an image located at fileOrUrl
Return
an ImageData instance that the user must close after use
Since
0.4.5
Parameters
fileOrUrl
a string encoded file location or url
formatHint
a hint for the file format
abstract fun loadImage(buffer: MPPBuffer, name: String?, formatHint: ImageFileFormat?, allowSRGB: Boolean): ImageData(source)
Load an image located at fileOrUrl
Return
an ImageData instance that the user must close after use
Since
0.4.5