Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
optimisation:images [2018/03/30 09:36] linkuff |
optimisation:images [2020/12/17 14:26] (Version actuelle) linkuff [Installation mozjpeg :] |
||
---|---|---|---|
Ligne 23: | Ligne 23: | ||
===== Installation mozjpeg : ===== | ===== Installation mozjpeg : ===== | ||
- | < | + | < |
+ | apt-get update | ||
+ | apt-get install | ||
+ | cd /root/ | ||
git clone https:// | git clone https:// | ||
cd mozjpeg | cd mozjpeg | ||
- | autoreconf -fiv | + | mkdir build && cd build |
- | ./configure | + | cmake -G" |
- | make | + | |
make install</ | make install</ | ||
Après l' | Après l' | ||
- | < | + | < |
+ | ln -s / | ||
+ | ln -s /opt/mozjpeg/ | ||
wget https:// | wget https:// | ||
chmod 755 optimize_jpegs.pl</ | chmod 755 optimize_jpegs.pl</ | ||
Ligne 38: | Ligne 42: | ||
Utilisation : | Utilisation : | ||
< | < | ||
- | |||
===== Installation optipng : ===== | ===== Installation optipng : ===== |