The function converts images in a source directory to a specified format and compresses them, while also copying non-image files to a destination directory.
The settings object
The function converts images in a source directory to a specified format and compresses them, while also copying non-image files to a destination directory.