How to convert BMP/PNG/JPG to SVG/EPS?
A simple tutorial which will take less than 3 minutes

<?php
$url = 'http://your_server.com/image.png';
$format = 'svg'; //or ps, eps, pdf
$data = json_decode(file_get_contents('http://api.rest7.com/v1/raster_to_vector.php?url=' . $url . '&format=' . $format));
if (@$data->success !== 1)
{
echo('Failed');
}
else
{
$vector = file_get_contents($data->file);
file_put_contents('vectors.' . $format, $vector);
}
This way we can convert this funny frog from PNG format:

Comments