Location: PHPKode > scripts > svg2png > svg2png/test.php
<?php
#! /usr/bin/php

include_once './class.svg2png.php';


$fsvg = './gion_desktop.svg';
//$fsvg = $_GET['fsvg'];
//$fsvg = $argv[1];

$osvg = new
 icfSVG ( $fsvg );

$osvg_ogd = $osvg->image();



//header( 'Content-type: image/jpeg');
//imagejpeg( $osvg_ogd ,'' ,90 );

//header( 'Content-type: image/gif');
//imagegif( $osvg_ogd );

header( 'Content-type: image/png');
imagepng( $osvg_ogd );

die('');



?>
Return current item: svg2png