16
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

Organization

jpegoptim のインストール

インストール

準備: libjpeg のインストール

$ sudo yum -y install libjpeg
$ sudo yum install libjpeg-turbo-devel

インストール

$ cd /tmp
$ mkdir jpegoptim
$ cd jpegoptim
$ wget http://www.kokkonen.net/tjko/src/jpegoptim-1.4.1.tar.gz
$ tar zxvf jpegoptim-1.4.1.tar.gz
$ cd jpegoptim-1.4.1
$ ./configure
$ make
$ sudo make install

確認

$ jpegoptim --version
jpegoptim v1.4.1  x86_64-unknown-linux-gnu

 :

簡単な使い方

$ jpegoptim --max=80 IMG_7210-2.jpg
IMG_7210-2.jpg 500x375 24bit N Exif IPTC ICC JFIF  [OK] 84845 --> 45126 bytes (46.81%), optimized.

46.81% 削減されました。

元画像 (84,845 bytes)

IMG_7210-1.jpg

圧縮後画像 (45,126 bytes)

IMG_7210-2.jpg

参考

  1. 作者サイト

  2. Manual Page

  3. Install JpegOptim in CentOS

  4. Cannot install jpegoptim on Centos 6

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
16
Help us understand the problem. What are the problem?