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! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php