SVG conversion to PDF,PS
-
Good afternoon, community!
What is available: SVG's software, mostly path. The php serial code, so it's preferable for php.
What is required: To obtain PDF, PS, and PSD(if possible) containing the SECTOR drawing as in the reference SVG. In the case of PDF, it'll be a built SVG, I don't know for the others.
What you tried: MagickWand (ImageMagick) is happy to convert, practically anything and anything, especially good PNG. But there's one big problem that's got all the pros down. When SVG is converted into PDF, EPS, PS, PSD, the original drawing is being developed.
What did you see? but not quite clear: 1. Apache Batik, it's not clear how to work and what's coming out. It's possible to through exec to launch a hole, but how does a hoster feel until we know.
- Apache FOP, a very interesting instrument, has already made almost all the changes and almost got the file.fo, all the primitives are transformed except the right path that somehow wasn't in the chart. So what do we do again, exec and java?
Anyway, maybe who's already encountered this subject, I'll be very grateful for the infu.
-
Call attention. http://sourceforge.net/projects/tcpdf/
TCPDF is the PHP class of PDF-Documents, which do not require external extensions.
This class introduces SVG directly into the PDF vector, but if desired, it can be converted into a veget by the same ImageMagic. http://www.tcpdf.org/examples/example_058.phps ♪ http://www.tcpdf.org/examples/example_058.pdf ♪