开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 126|回复: 2
收起左侧

[易语言] 这种svg怎么转成png图片

[复制链接]
结帖率:0% (0/2)
发表于 昨天 17:27 | 显示全部楼层 |阅读模式   江西省南昌市
12精币
Base64网址:aHR0cHM6Ly93YXBpb3MuOGRoanMxaGphLm9wc25hanMud2FuYmFuY3kuY29tL2NhcHRjaGE=

浏览器访问能显示图片,助手Get访问返回值是下面一大串文本,不晓得怎么转,下了论坛几个svg转png的都没成功

<svg viewBox="0 0 130 54" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="#f9fafb" rx="12"/><line x1="9" y1="14" x2="7" y2="15" stroke="#cbd5e1" stroke-width="1.6" opacity="0.5"/><line x1="66" y1="22" x2="87" y2="48" stroke="#cbd5e1" stroke-width="2" opacity="0.5"/><line x1="45" y1="30" x2="13" y2="19" stroke="#64748b" stroke-width="1.2" opacity="0.5"/><line x1="5" y1="44" x2="123" y2="15" stroke="#94a3b8" stroke-width="1.6" opacity="0.5"/><line x1="62" y1="43" x2="90" y2="4" stroke="#94a3b8" stroke-width="1.1" opacity="0.5"/><line x1="27" y1="22" x2="65" y2="23" stroke="#94a3b8" stroke-width="1.5" opacity="0.5"/><circle cx="104" cy="33" r="0.8" fill="#cbd5e1" opacity="0.3"/><circle cx="62" cy="7" r="1" fill="#cbd5e1" opacity="0.3"/><circle cx="80" cy="2" r="0.7" fill="#cbd5e1" opacity="0.3"/><circle cx="130" cy="41" r="0.8" fill="#cbd5e1" opacity="0.3"/><circle cx="88" cy="27" r="0.7" fill="#cbd5e1" opacity="0.3"/><circle cx="114" cy="20" r="1.1" fill="#cbd5e1" opacity="0.3"/><circle cx="100" cy="37" r="1.5" fill="#cbd5e1" opacity="0.3"/><circle cx="37" cy="40" r="0.6" fill="#cbd5e1" opacity="0.3"/><circle cx="47" cy="40" r="0.9" fill="#cbd5e1" opacity="0.3"/><circle cx="28" cy="15" r="0.6" fill="#cbd5e1" opacity="0.3"/><circle cx="100" cy="42" r="1.5" fill="#cbd5e1" opacity="0.3"/><circle cx="72" cy="33" r="1.3" fill="#cbd5e1" opacity="0.3"/><circle cx="20" cy="39" r="1.3" fill="#cbd5e1" opacity="0.3"/><circle cx="27" cy="3" r="0.7" fill="#cbd5e1" opacity="0.3"/><circle cx="68" cy="20" r="1.4" fill="#cbd5e1" opacity="0.3"/><circle cx="84" cy="1" r="1.3" fill="#cbd5e1" opacity="0.3"/><circle cx="55" cy="27" r="1.5" fill="#cbd5e1" opacity="0.3"/><circle cx="80" cy="15" r="0.5" fill="#cbd5e1" opacity="0.3"/><circle cx="13" cy="40" r="1.2" fill="#cbd5e1" opacity="0.3"/><circle cx="124" cy="21" r="0.8" fill="#cbd5e1" opacity="0.3"/><circle cx="57" cy="48" r="1.5" fill="#cbd5e1" opacity="0.3"/><circle cx="83" cy="17" r="1.1" fill="#cbd5e1" opacity="0.3"/><circle cx="22" cy="11" r="1.2" fill="#cbd5e1" opacity="0.3"/><circle cx="105" cy="27" r="0.6" fill="#cbd5e1" opacity="0.3"/><circle cx="87" cy="48" r="0.5" fill="#cbd5e1" opacity="0.3"/><circle cx="8" cy="21" r="0.7" fill="#cbd5e1" opacity="0.3"/><circle cx="94" cy="29" r="0.6" fill="#cbd5e1" opacity="0.3"/><circle cx="114" cy="39" r="0.9" fill="#cbd5e1" opacity="0.3"/><circle cx="44" cy="26" r="0.9" fill="#cbd5e1" opacity="0.3"/><circle cx="95" cy="16" r="0.6" fill="#cbd5e1" opacity="0.3"/><text x="20" y="40" font-family="Verdana, sans-serif" font-size="28" font-weight="900" fill="#0369A1" transform="rotate(-7, 20, 40)" style="text-shadow: 1px 1px 2px rgba(0,0,0,0.1);">5</text><text x="48" y="41" font-family="Georgia, serif" font-size="28" font-weight="900" fill="#0369A1" transform="rotate(4, 48, 41)" style="text-shadow: 1px 1px 2px rgba(0,0,0,0.1);">1</text><text x="76" y="38" font-family="Arial, sans-serif" font-size="28" font-weight="900" fill="#0369A1" transform="rotate(4, 76, 38)" style="text-shadow: 1px 1px 2px rgba(0,0,0,0.1);">3</text><text x="104" y="37" font-family="Georgia, serif" font-size="28" font-weight="900" fill="#0369A1" transform="rotate(-9, 104, 37)" style="text-shadow: 1px 1px 2px rgba(0,0,0,0.1);">6</text></svg>


回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至 源码区 可获得加分喔。
友情提醒:本版被采纳的主题可在 申请荣誉值 页面申请荣誉值,获得 1点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
快捷通道:申请荣誉值
结帖率:100% (34/34)

签到天数: 7 天

发表于 昨天 18:06 | 显示全部楼层   河南省新乡市
哈哈,以前我也找过,但是没能解决,后来我自己写了一个,很垃圾的需要手动操作,但是可以用
一种很抽象的.svg文件转.png文件
https://bbs.ijingyi.com/forum.php?mod=viewthread&tid=14834660
(出处: 精易论坛)
回复

使用道具 举报

结帖率:90% (18/20)

签到天数: 2 天

发表于 昨天 19:16 | 显示全部楼层   湖南省邵阳市
我是通过PHP实现的。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报QQ: 793400750,邮箱:wp@125.la
网站简介:精易论坛成立于2009年,是一个程序设计学习交流技术论坛,隶属于揭阳市揭东区精易科技有限公司所有。
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备2025452707号) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表