ImageIO.readData#

ImageIO.readData(shape=None, memmap=False)#

Reads data from an image file.

Parameters:
shapetuple, optional

Shape of the image.

memmapbool, optional

If True, creates a memory map. Default is False.

Raises:
ValueError

If byte order is incompatible with memory map.