You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi admin,
I use file image at for test . I do not see it reduced in size (optimizer). Please help me
`<?php
include('vendor/autoload.php');
use Spatie\ImageOptimizer\OptimizerChainFactory;
$optimizerChain = OptimizerChainFactory::create();
The readme has instruction on how to log the optimization process. Please make sure you've installed the necessary binaries and you can call them from PHP.
Hi admin,
I use file image at for test . I do not see it reduced in size (optimizer). Please help me
`<?php
include('vendor/autoload.php');
use Spatie\ImageOptimizer\OptimizerChainFactory;
$optimizerChain = OptimizerChainFactory::create();
$pathToImage = 'C:\xampp\htdocs\image\1.png';
$test = $optimizerChain->optimize($pathToImage);`
The text was updated successfully, but these errors were encountered: