load method

load

Loads a new image from the specified file.

Returns

The loaded drawing.

def load(self, file_path):
    ...
ParameterTypeDescription
file_pathstrThe file path to load image from.

load

Loads a new image from the specified stream.

Returns

The loaded drawing.

def load(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to load image from.

load

Loads a new image from the specified file.

Returns

The loaded drawing.

def load(self, file_path, load_options):
    ...
ParameterTypeDescription
file_pathstrThe file path to load image from.
load_optionsLoadOptionsThe load options.

load

Loads a new image from the specified stream.

Returns

The loaded drawing.

def load(self, stream, load_options):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to load image from.
load_optionsLoadOptionsThe load options.

See Also