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.

Example

Loads a drawing to process

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.

Example

Loads a drawing to process from corresponding stream

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.

Example

Loads a drawing to process and unloads all related resources when dispose is called

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.

Example

Loads a drawing to process from corresponding stream and unloads all related resources when dispose is called

load

Loads a new image from the specified stream.

Returns

The loaded drawing.

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

Example

Loads a drawing to process from corresponding stream

See Also