api
api copied to clipboard
Unable to convert from PNG to SVG using rest7.php
Here is my code `<?php include 'api-master/rest7.php';
$im = imagecreatefrompng('bhobj_282.png');
$svg = convertImage7($im, 'svg');
if ($svg) { $myTextfile = fopen('output.svg', "w"); file_put_contents('output.svg', $svg); fclose($myTextfile); } else { die('Unable to convert');
} ?>`