Image Converter
Image-Format Converter
The Image-Format Converter is a command-line tool.
Usage
image_converter file ... [options]
Description
--convert_formator-cf, optional : Convert image pixel format [RGBA | RGB | LA | L].--matte_coloror-mc, optional : Matte color for the input image in formatR[f|i|h], G[f|i|h], B[f|i|h] | RRGGBBh.--matte_thresholdor-mt, optional : The alpha threshold value for applying the matte color in range 0 (default) - 255.--output_diror-od, optional : Output directory name.--output_formator-of, optional : Output format [PNG (default) | WEBP | JPG | JPEG].--output_compressionor-oc, optional : Output compression [DEFAULT | LOSSLESS | LOSSY | BEST].--output_qualityor-oq, optional : Output compression quality in range 0 (low) - 100 (high), (default 85.0).--quietor-q, optional, switch : Suppress information printing.
The image file names can use wildcard patterns using * ? [0-z]
If using wildcard patterns, files starting with '.' are ignored, except the specified pattern starts with '.'
e.g. convert all PNG and JPG files from folder original to WEBP files into folder converted:
image_converter original/*.png original/*.jpg -od converted -of WEBP