Image.loadFromStream

Load the image from a custom stream.

The supported image formats are bmp, png, tga, jpg, gif, psd, hdr and pic. Some format options are not supported, like progressive jpeg. If this function fails, the image is left unchanged.

class Image
bool
loadFromStream

Parameters

stream

Source stream to read from

Return Value

Type: bool

true if loading succeeded, false if it failed

Meta