Re: svg graphics and php : is it possible

From: Date: Tue, 02 Jul 2002 14:36:20 +0000
Subject: Re: svg graphics and php : is it possible
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104924@lists.php.net to get a copy of this message
I think the proper MIME type for sgv is image/svg-xml. Why aren't you able to output svg lines with print() (or echo())? Bogdan Herve le Martret wrote:
Hello, I am interested in creating svg graphics with php like creating a image with gd. I tried a PHP script with : header ("Content-type: image/xml+svg"); but I don't know how to output correctly svg lines. It is not possible to ouput svg lines with the print command and a command like "imagesvg($im);" does'nt exit. Thanks in advance Is there any solution ? Herve
Mail scanat cu RAV Antivirus!

« previous php.general (#104924) next »