svglib:读取SVG文件并将其转换为其他格式

上传者: 42097914 | 上传时间: 2022-04-29 16:54:27 | 文件大小: 2.3MB | 文件类型: ZIP
svglib 用于读取和转换SVG的纯Python库 关于 Svglib是一个纯Python库,用于使用开源工具包读取文件并将它们(以合理的程度)转换为其他格式。 作为一个包,您可以阅读现有的SVG文件,并将它们转换为可在各种上下文中使用的ReportLab Drawing对象,例如,作为ReportLab Platypus Flowable对象或RML 。 作为一种命令行工具,它可以将SVG文件转换为PDF文件(但是添加其他输出格式,例如位图或EPS确实很容易,并且很快会得到更好的支持)。 测试包括庞大的W3C SVG测试套件以及ca。 来自Wikipedia的200个标志和来自Wikipedia的一些选定符号(越来越少地指向缺少的功能)。 特征 将SVG文件转换为ReportLab图形Drawing对象 处理普通或压缩的SVG文件(.svg和.svgz) 在命令行上允许输出文件

文件下载

资源详情

[{"title":"( 48 个子文件 2.3MB ) svglib:读取SVG文件并将其转换为其他格式","children":[{"title":"svglib-master","children":[{"title":"svg2pdf.1 <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"setup.cfg <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"README.rst <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"svglib","children":[{"title":"utils.py <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"svglib.py <span style='color:#111;'> 54.53KB </span>","children":null,"spread":false},{"title":"fonts.py <span style='color:#111;'> 9.60KB </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"ISSUE_TEMPLATE.md <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"ci.yml <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CONTRIBUTORS.rst <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_fonts.py <span style='color:#111;'> 12.40KB </span>","children":null,"spread":false},{"title":"README.rst <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"NOTES.rst <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"test_samples.py <span style='color:#111;'> 16.08KB </span>","children":null,"spread":false},{"title":"samples","children":[{"title":"wikipedia","children":[{"title":"README.rst <span style='color:#111;'> 195B </span>","children":null,"spread":false}],"spread":false},{"title":"misc","children":[{"title":"tiger.svg <span style='color:#111;'> 94.39KB </span>","children":null,"spread":false},{"title":"Berlin_location_map.svg <span style='color:#111;'> 651.81KB </span>","children":null,"spread":false},{"title":"firefox-logo.svg <span style='color:#111;'> 17.81KB </span>","children":null,"spread":false},{"title":"logo_a3.svg <span style='color:#111;'> 23.71KB </span>","children":null,"spread":false},{"title":"airbus.svg <span style='color:#111;'> 186.23KB </span>","children":null,"spread":false},{"title":"newlion.svg <span style='color:#111;'> 19.83KB </span>","children":null,"spread":false},{"title":"timezones.svg <span style='color:#111;'> 1.16MB </span>","children":null,"spread":false},{"title":"Berlin_location_map_gz.svgz <span style='color:#111;'> 331.14KB </span>","children":null,"spread":false},{"title":"arcs02.svg <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"arcs01.svg <span style='color:#111;'> 999B </span>","children":null,"spread":false},{"title":"rllogo.svg <span style='color:#111;'> 15.80KB </span>","children":null,"spread":false},{"title":"python221imap.svg <span style='color:#111;'> 830.68KB </span>","children":null,"spread":false},{"title":"car.svg <span style='color:#111;'> 75.17KB </span>","children":null,"spread":false},{"title":"LICENSES.rst <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"test_part.svg <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"Python_logo_and_wordmark.svg <span style='color:#111;'> 14.94KB </span>","children":null,"spread":false}],"spread":false},{"title":"others","children":[{"title":"to_be_embedded.svg <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"png_in_svg.svg <span style='color:#111;'> 16.06KB </span>","children":null,"spread":false},{"title":"svg_in_svg.svg <span style='color:#111;'> 356B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"test_basic.py <span style='color:#111;'> 36.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"CHANGELOG.rst <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"demos","children":[{"title":"README.rst <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"st_svg2pdf_app.mov <span style='color:#111;'> 1.12MB </span>","children":null,"spread":false},{"title":"st_svg2pdf_app.py <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".pyup.yml <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"svg2pdf <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"MANIFEST.in <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"tox.ini <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":".lgtm.yml <span style='color:#111;'> 589B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明