← 返回命令列表

Linux command

guetzli 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Re-encode a JPEG

guetzli [input.jpg] [output.jpg]

Encode a PNG to JPEG

guetzli [input.png] [output.jpg]

Set quality level (84-100)

guetzli --quality [90] [input.jpg] [output.jpg]

Maximum compression (lowest supported quality)

guetzli --quality [84] [input.jpg] [output.jpg]

Show progress trace

guetzli --verbose [input.png] [output.jpg]

说明

Guetzli is a JPEG encoder that targets the human visual system. It uses Butteraugli, a psychovisual model, to search the JPEG quantization space and produce baseline-compatible JPEG files that are typically 20-30% smaller than equivalent libjpeg output at the same perceived quality. Output files are compatible with all standard JPEG decoders. The trade-off is encoding cost: guetzli is computationally and memory intensive.

参数

--quality _Q_
Visual quality, expressed in libjpeg-equivalent units. Range 84-100, default 95. Values below 84 are not supported.
--verbose
Print a trace of encoding attempts.

FAQ

What is the guetzli command used for?

Guetzli is a JPEG encoder that targets the human visual system. It uses Butteraugli, a psychovisual model, to search the JPEG quantization space and produce baseline-compatible JPEG files that are typically 20-30% smaller than equivalent libjpeg output at the same perceived quality. Output files are compatible with all standard JPEG decoders. The trade-off is encoding cost: guetzli is computationally and memory intensive.

How do I run a basic guetzli example?

Run `guetzli [input.jpg] [output.jpg]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --quality _Q_ do in guetzli?

Visual quality, expressed in libjpeg-equivalent units. Range 84-100, default 95. Values below 84 are not supported.