Image Converter
Image-Format Converter
The Image-Format Converter is a command-line tool.
Usage
image_converter file ... [options]
Description
--convert_format
or-cf
, optional : Convert image pixel format [RGBA | RGB | LA | L].--matte_color
or-mc
, optional : Matte color for the input image in formatR[f|i|h], G[f|i|h], B[f|i|h] | RRGGBBh
.--matte_threshold
or-mt
, optional : The alpha threshold value for applying the matte color in range 0 (default) - 255.--output_dir
or-od
, optional : Output directory name.--output_format
or-of
, optional : Output format [PNG (default) | WEBP | JPG | JPEG].--output_compression
or-oc
, optional : Output compression [DEFAULT | LOSSLESS | LOSSY | BEST].--output_quality
or-oq
, optional : Output compression quality in range 0 (low) - 100 (high), (default 85.0).--quiet
or-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