1
0
mirror of https://github.com/Chouchen/svgToImage.git synced 2020-02-03 22:08:42 +01:00

Ajout de l'header dans la classe et de 2 formats de sortie

This commit is contained in:
Shikiryu
2010-11-29 15:50:24 +00:00
parent dd7e4a4ba4
commit 1bb11ac336
2 changed files with 13 additions and 9 deletions

View File

@@ -39,5 +39,5 @@ $svgtoimage = SVGTOIMAGE::parse($svg);
$svgtoimage->setShowDesc();
$svgtoimage->setWidth(300);
$svgtoimage->setHeight(512);
header('Content-type: image/png');
//header('Content-type: image/png');
echo $svgtoimage->toImage();