Created
April 7, 2015 13:21
-
-
Save ko31/bc95297309c64a2b4414 to your computer and use it in GitHub Desktop.
【Linux】jpegoptimコマンドサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
品質80%で圧縮 | |
$ jpegoptim --max=80 image.jpg | |
画像のメタ情報を全て削除し、品質50%で圧縮 | |
$ jpegoptim --strip-all --max=50 image.jpg | |
ディレクトリ内の全てのjpg画像を圧縮 | |
$ jpegoptim --max=80 *.jpg | |
保存先ディレクトリを指定して圧縮 | |
$ jpegoptim --max=80 *.jpg --dest=/path/to/dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment