psliwa / image-optimizer

Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
MIT License
906 stars 141 forks source link

jpg #62

Closed hooman-mirghasemi closed 5 years ago

hooman-mirghasemi commented 6 years ago

Your library is very good and useful in png images. but about jpg images tinypng.com make images very optimizer than this library! is therer any way to have better optimization for jpg?? (like installing an other jpg optimzer )

psliwa commented 5 years ago

I think it is their propertiary solution and they don't say what algorithm / optimizer they use. I can add optimizer what uses they service as an optimizer, there is php client for their api: https://github.com/tinify/tinify-php.