rosell-dk / webp-convert

Convert jpeg/png to webp with PHP (if at all possible)
MIT License
578 stars 102 forks source link

None of the converters in the stack are operational #252

Closed nhockool1002 closed 4 years ago

nhockool1002 commented 4 years ago

I have a small issue "None of the converters in the stack are operational" when I upload picture My function is $fileName = $request->file('image')->getClientOriginalName(); $request->file('image')->move(public_path('uploads'), $fileName); $source = public_path('uploads') . '/' . $fileName; $destination = substr($fileName, 0, -4) . '.webp'; WebPConvert::convert($source, $destination, []); $ource : /var/www/html/public/uploads/272885.jpg $destination : 272885.webp

rosell-dk commented 4 years ago

Check out the following entries on the wiki: https://github.com/rosell-dk/webp-convert/wiki/Meeting-the-requirements-of-the-converters https://github.com/rosell-dk/webp-convert/wiki/A-PHP-script-for-the-webhost