optimize_jpg_files
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
optimize_jpg_files [2021/02/20 23:46] – external edit 127.0.0.1 | optimize_jpg_files [2022/10/23 21:01] – dino | ||
---|---|---|---|
Line 13: | Line 13: | ||
jpegoptim *.JPG | jpegoptim *.JPG | ||
+ | |||
+ | |||
+ | Optimize PNG | ||
+ | |||
+ | < | ||
+ | |||
+ | To optimize a PNG file, run | ||
+ | |||
+ | < | ||
+ | |||
+ | -o selects the optimization level. The higher the level, the more compression trials. OptiPNG optimizes the given file in-place. | ||
+ | |||
+ | To make the file further smaller, we can remove the metadata from the PNG file by specifying --strip all: | ||
+ | |||
+ | < |
optimize_jpg_files.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1