Module html5_picture::core[][src]

Expand description

Contains default functions and traits.

Structs

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.

Contains the application state and config.

Functions

Collects all png files in the given input folder.

Copies the input folder to the working directory.

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

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

Resizes and converts all input images.

Saves the html <picture> tags to the folder given by the options.