ImageDriverStbImage

Image driver based on stbi and tinyexr

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun imageToDataUrl(imageData: ImageData, formatHint: ImageFileFormat?): String
Link copied to clipboard
open override fun loadCubemapImage(fileOrUrl: String, formatHint: ImageFileFormat?): CubemapImageData
open override fun loadCubemapImage(buffer: MPPBuffer, name: String?, formatHint: ImageFileFormat?): CubemapImageData
Link copied to clipboard
open override fun loadImage(fileOrUrl: String, formatHint: ImageFileFormat?, allowSRGB: Boolean): ImageData
open override fun loadImage(buffer: MPPBuffer, name: String?, formatHint: ImageFileFormat?, allowSRGB: Boolean): ImageData
Link copied to clipboard
open override fun probeImage(fileOrUrl: String): ImageFileDetails?
open override fun probeImage(buffer: MPPBuffer, formatHint: ImageFileFormat?): ImageFileDetails?
Link copied to clipboard
open fun saveImage(imageData: ImageData, filename: String, saveContext: ImageSaveContext.() -> ImageSaveConfiguration)
open fun saveImage(imageData: ImageData, filename: String, formatHint: ImageFileFormat?)
open override fun saveImage(imageData: ImageData, filename: String, configuration: ImageSaveConfiguration)