Module html5_picture::core[][src]

Contains default functions and traits.

Structs

Config

Converts the images (currently png only) of the input folder to webp format. It also has the ability to create multiple versions of the input images having different sizes. See -s for further details. Additionally it automatically generates HTML5 tag files for you to be able to integrate them in a webpage easily.

State

Contains the application state and config.

Functions

collect_file_names

Collects all png files in the given input folder.

create_all_output_directories

Recreates the folder structure of the input directory in the output directory.

install_images_into

Installs all images that have been converted to the given install folder.

process_images

Resizes and converts all input images.