1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【メモ】画像圧縮コマンド

Last updated at Posted at 2020-02-20

画像圧縮を行う理由

画像を扱う系のサイトの場合、スピードが遅くなりがち
参考:speed check

WEBP等を利用する手もあるが、根本的に画像圧縮を行わないと改善速度は上がらなさそう

画像圧縮コマンド

jpegoptim -s -m70 */*/*.jpg
guetzliもあるが、かなり重たいので、当分はjpegoptimでいいかな

-sはメタ情報削除
-mXXは圧縮クオリティ(-m70ぐらいで100~300KBぐらいにしてくれる感じ)

紹介

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?