Skip to content

Latest commit

 

History

History
15 lines (6 loc) · 281 Bytes

README.md

File metadata and controls

15 lines (6 loc) · 281 Bytes

optimize_img

PHP cli script that optimizes images (jpg and png) recursive in a directory

$ php optimize_img.php

Before using it make sure to install optipng and jpegtran. On Debian/Ubuntu that would be:

$ sudo apt-get install libjpeg-progs optipng