I\'m working on a web project that involves a dynamically generated map of the US coloring different states based on a set of data.
This SVG file gives me a good b
$command = 'convert -density 300 '; if(Input::Post('height')!='' && Input::Post('width')!=''){ $command.='-resize '.Input::Post('width').'x'.Input::Post('height').' '; } $command.=$svg.' '.$source; exec($command); @unlink($svg);
or using : potrace demo :Tool4dev.com