Closed eliomain closed 7 years ago
i need a simple example
Example is provided in the readme.
$factory = new \ImageOptimizer\OptimizerFactory();
$optimizer = $factory->get();
$filepath = /* path to image */;
$optimizer->optimize($filepath);
//optimized file overwrites original one
Thanks @matjazpotocnik, I am closing this issue.
i cant use it . want to help