LoginSignup
1
1

More than 5 years have passed since last update.

pngquantで減色処理をして画像ファイルを一気に軽くする方法

Posted at

pngquantをインストール

brew install pngquant

使い方

pngquant --ext .png --force 256 hoge.png

一気にファイルを変更する

find . -type f -name "*.png" -exec pngquant --speed 1 --force --ext .png 256 {} \;

これで、大幅に画像ファイルの容量が軽くなります!!

iOSのダウンロード制限が50MBから100MBになったとはいえ、できる限り容量は抑えたいところです。

このpngquantでの減色処理は今までいろんなところで使ってきまいしたが、ほとんど劣化せず容量はとても軽くなるので、とてもお勧めです!!

1
1
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
1