How to generate raw SVG output without HTTP headers?

I use Image_Graphviz library to dynamically generate SVG output with PHP. I need this SVG to be part of an existing HTML document. But methods image() and fetch() both send HTTP headers. I just need the raw SVG part generated into DIV element. How to make such a raw SVG output without HTTP headers (!DOCTYPE ...) ?

Recent comments

Syndicate content