How can I visualize SVG with common PHP extensions?

I am working on a project in PHP that is supposed to render dynamically created SVG images in PNG format (or GIF, if not PNG). I know that I can do this by invoking SVG rendering, such as rsvg, or with an extension, such as ImageMagick, which is not common *.

Is there a drop-in style library that can display SVG with things like GD and DomDocument?

* Available on shared web hosts and in packages such as XAMPP .

To clarify, I already have SVG itself, I just need it to display the size of the server.

+3
source share
2 answers

. SVG - , ... , , , . , gd.

, , , ...

+1
0

Source: https://habr.com/ru/post/1757513/


All Articles