欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

How to Convert a SVG File to PDF Format

程序员文章站 2022-06-24 08:50:17
...
http://xmlgraphics.apache.org/batik/tools/rasterizer.html
http://help.arcgis.com/zh-cn/arcgisdesktop/10.0/help/index.html#/na/00sm00000007000000/
http://www.carto.net/
http://www.carto.net/neumann/
http://www.svgopen.org/2012/
http://www.geofoto.ch/
http://inkscape-forum.andreas-s.net/topic/129105
http://xmlgraphics.apache.org/batik/#download
http://xmlgraphics.apache.org/fop/


How to Convert a SVG File to PDF Format
By eHow Contributor

Print this article

Screen Shot of the Batik SVG Project Home Page
Scalable Vector Graphics (SVG) is the International Standard fro two-dimensional vector and mixed vector/rastor graphics in XML. Commonly, it is desirable to convert SVG or other 2D graphics formats into Portable Document Format (PDF). PDF is a file format originally created by Adobe in the early 1993's for document exchange that could not be easily edited, and not dependent on the operating system which it was displayed. Since that time frame, PDF has become an open standard which was published in mid-2008.

Related Searches:
PDF to PDFGML SVG
Difficulty: Moderate
Instructions

Things You'll Need
PDF Viewer
Java Runtime version 1.3 or newer.
1
Download the binary batik distribution from: http://xmlgraphics.apache.org/batik/download.cgi to the working folder on your development computer. Choose the appropriate option for the Java Run Time environment installed on your computer. In this example, the working directory is c:/users/javanx3d/batik.

2
Open the command prompt and change the file directory to c:/users/javanx3d/batik/batik-1.7.

3

Screen Shot of the command prompt after converting batikFX.svg to PDF format.
Convert the sample file batikFX.svg to .PDF format by typing the following command on the command line: java -jar batik-rasterizer.jar samples/batikFX.svg. Once enter is pressed, the following readout will display on the command prompt:
C:\Users\Javanx3d\batik\batik-1.7>java -jar batik-rasterizer.jar -m application/
pdf samples/batikFX.svg
About to transcode 1 SVG file(s)

Converting batikFX.svg to samples\batikFX.pdf ... ... success

C:\Users\Javanx3d\batik\batik-1.7>

4

Screen Shot of the Converted PDF File.
View the converted PDF file in a PDF viewer



Read more: How to Convert a SVG File to PDF Format | eHow.com http://www.ehow.com/how_4764638_convert-svg-file-pdf-format.html#ixzz1lWBev19M

http://www.coderanch.com/t/563609/Performance/java/svg-pdf-under-ms
http://www.ehow.com/how_4764638_convert-svg-file-pdf-format.html
http://www.alt-soft.com/Products_svg2pdf.aspx
http://*.com/questions/2143971/svg-to-pdf-on-a-shared-linux-server

http://inkscape-forum.andreas-s.net/topic/129105