fromInputStream

fun fromInputStream(inputStream: InputStream, options: BufferImageLoadOptions = BufferImageLoadOptions()): ImageRef?

Creates ImageRef from the given input stream of encoded bytes

Return

ImageRef if bytes successfully decoded, otherwise null