This package provides an easy to work with class to convert image's to svg.
The package can be installed via composer:
composer require programeriss/pix2svgConverting a image to the svg is easy.
$pix2svg = new Programeriss\Pix2svg\Pix2svg();
$svg = $pix2svg->convert($pathToImage);If the path you pass to convert has the extensions jpg, jpeg, gif, or png the image will be returned in the svg format.
Otherwise the output will be a error.
composer testPlease see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email programeriss@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.