`

How to Convert a SVG File to PDF Format

 
阅读更多
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://stackoverflow.com/questions/2143971/svg-to-pdf-on-a-shared-linux-server

http://inkscape-forum.andreas-s.net/topic/129105
分享到:
评论
1 楼 calosteward 2015-07-29  
感谢博主对svg convert to PDF资源的分享。
我也找了一些关于PDF converting 的相关资源, 希望能有所帮助。

相关推荐

    svg to pdf svg2pdf

    svg2pdf(bytestring=svg_file.read(), write_to='output.pdf') ``` 7. **优化与问题处理**:转换过程中可能会遇到的问题包括字体缺失、图像质量下降、复杂图形渲染错误等。这些问题通常需要根据具体情况进行调整...

    .net c#源码实例SVG转换png/jpeg/jpg/pdf(svg.dll itextsharp.dll)

    using (var stream = new FileStream("output.pdf", FileMode.Create)) { var writer = PdfWriter.GetInstance(pdfDoc, stream); pdfDoc.Open(); var image = SvgImage.FromSvgPath("input.svg"); pdfDoc.Add...

    svg2pdf.pdf

    svg2pdf.pdf,无线网络开发资料,对于无线网络开发具有帮助,linux驱动相关的,有兴趣可以自行下载

    pdf2svg 64位

    PDF(Portable Document Format)是一种广泛使用的文档格式,它能够保留原始文档的布局和样式,方便在不同的设备和操作系统间共享。然而,有时我们可能需要将PDF转换为SVG(Scalable Vector Graphics)格式,SVG是一...

    SVG Animations.pdf

    SVG Animations.pdf SVG Animations.pdf SVG Animations.pdf SVG Animations.pdf SVG Animations.pdf SVG Animations.pdf

    pdf转svg的实用程序(Linux)

    在计算机领域,PDF(Portable Document Format)是一种广泛用于文档交换的格式,而SVG(Scalable Vector Graphics)则是用于网页和图形设计的矢量图形格式。这两种格式各有其优势,PDF适用于保存打印质量的文档,SVG...

    pdf2svg 32位

    这里,`<in file.pdf>` 指定你要转换的PDF文件的路径,`<out file.svg>` 指定转换后SVG文件的保存位置,而 `<page no>` 是可选参数,用于指定要转换的PDF页面。如果不提供页面号,`pdf2svg` 将默认转换所有页面。 1...

    SVG格式转成PDF——Java工程

    而PDF(Portable Document Format)是另一种广泛使用的文件格式,尤其适合打印和跨平台共享。本Java工程专注于将SVG图像转换为PDF,同时也具备合并PDF文件的功能。 在SVG转PDF的过程中,主要涉及到以下几个关键知识...

    save-ps-to-svg 1.0.zip

    《Photoshop到SVG转换脚本详解——save-ps-to-svg 1.0》 在数字艺术与设计领域,Photoshop(简称PS)是一款广泛使用的图像处理软件,而SVG(Scalable Vector Graphics)则是一种基于XML的矢量图形格式,尤其适用于...

    pdf转svg的实用程序(Windows)

    PDF转SVG是一个常见的需求,特别是在图形设计和网页开发领域,因为SVG是一种矢量图形格式,可以在任何分辨率下保持清晰,适合于创建可缩放的图形元素。本实用程序专为Windows用户设计,利用了Poppler和cairo这两个...

    save-ps-to-svg1.0.zip 让PS支持导出SVG

    标题“save-ps-to-svg1.0.zip 让PS支持导出SVG”揭示了一个关于Adobe Photoshop(简称PS)的扩展功能,即添加了将形状图片转换为SVG(Scalable Vector Graphics)路径的能力。SVG是一种基于XML的矢量图像格式,具有...

    svg格式文件转换为pdf格式文件

    SVG(Scalable Vector Graphics)和PDF(Portable Document Format)是两种常见的文件格式,它们各自在不同的场景下有着独特的优势。SVG是一种基于XML的矢量图形格式,它能够无损地放大并保持清晰的图像质量,常用于...

    save-ps-to-svg1.0.jsx.zip

    标题“save-ps-to-svg1.0.jsx.zip”表明这是一个压缩包文件,其中包含一个名为“save-ps-to-svg1.0.jsx”的脚本。这个脚本主要用于将Adobe Photoshop(PS)中的设计元素,尤其是形状,导出为可缩放矢量图形(SVG)...

    svg开发实践PDF电子书

    这份“SVG开发实践”PDF电子书是一本非常适合初学者入门SVG技术的教程。它涵盖了SVG的基本概念、语法以及在实际项目中的应用。 在SVG中,图像由几何形状(如直线、曲线、圆、椭圆等)组成,这些形状可以被无限放大...

    save-ps-to-svg1.0.rar

    标题中的"save-ps-to-svg1.0.rar"表明这是一个压缩包文件,版本为1.0,根据描述推测可能包含一个用于将Photoshop(PS)文件转换为Scalable Vector Graphics(SVG)格式的脚本。SVG是一种矢量图形格式,与像素图(如...

    ESRI shape files to SVG files(源码)

    This is a tool to convert ESRI shape files to SVG files, you can use it in any way. Usage: Shp2Svg.exe -/shp=xxx -/svg=xxx [-/uom=xxx] [-/width] [-/height] [-/strokewidth] [-/strokecolor] [-/...

    save-ps-to-svg1.0.jsx 让Ps支持svg格式

    "save-ps-to-svg1.0.jsx" 是一个JavaScript扩展脚本,专门用于扩展Photoshop的功能,使其能够保存作品为SVG格式。 SVG是一种开放标准的矢量图形格式,它的优点在于无论放大多少倍,图像质量都不会损失,这对于需要...

    SVG Essentials(2nd) 无水印pdf

    SVG Essentials(2nd) 英文无水印pdf 第2版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或...

Global site tag (gtag.js) - Google Analytics