7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacでJPEG画像のサイズを小さくする

Last updated at Posted at 2015-06-14

ハマった点含め、忘れいないようにメモ。

使うもの

手順

brewでjpegoptimをインストール。

% brew install jpegoptim

ヘルプが表示されればOK。

% jpegoptim --help

「libjpeg見つからないよ」的なエラーが表示されたが、jpegjpegoptimを入れ直すことで、自分の環境では解消した。

% brew uninstall jpeg
% brew install jpeg
% brew uninstall jpegoptim
% brew install jpegoptim

あとはヘルプに従い、よしなに実行。

% cd PATH_TO_JPEGS_DIR
% jpegoptim --strip-all --max=30 **/*.jpg
7
7
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
7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?