darsia.imread_from_bytes#

imread_from_bytes(data, transformations=None, **kwargs)[source]#

Initialization of Image by reading from byte string.

Parameters:
databytes

Byte string of image.

transformationslist of callables

Transformations.

**kwargs

Keyword arguments.

Returns:
darsia.Image

Image; scalar or optical, depending on the number of channels.