Crate caesium

Source

Modules§

error
parameters

Enums§

SupportedFileTypes

Functions§

compress
Compresses an image file from the input path and writes the compressed image to the output path.
compress_in_memory
Compresses an image file in memory and returns the compressed image as a byte vector.
compress_to_size
Compresses an image file from the input path up to a specified size and writes the compressed image to the output path.
compress_to_size_in_memory
Compresses an image file in memory up to a specified size and returns the compressed image as a byte vector.
convert
Converts an image file from the input path to a specified format and writes the converted image to the output path.
convert_in_memory
Converts an image file in memory to a specified format and returns the converted image as a byte vector.