image_transformer.utils package

Submodules

image_transformer.utils.arguments_parser module

image_transformer.utils.arguments_validator module

image_transformer.utils.configurations_loader module

This module provides functionality to load configurations from a TOML file.

image_transformer.utils.configurations_loader.load_configurations(configuration_file_path: str) dict[source]

Loads configurations from a TOML file.

Parameters:

configuration_file_path (str) – The path to the TOML configuration file.

Returns:

The configurations loaded from the file.

Return type:

dict

image_transformer.utils.loader module

This module provides functionality to load images using the PIL library.

image_transformer.utils.loader.load_image(image_path: str) Image[source]

Load an image from the specified file path.

Parameters:

image_path (str) – The path to the image file.

Returns:

The loaded image object.

Return type:

Image.Image

Module contents

This module initializes the utils package by importing all functions and classes from the utils module.