Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法加载svg格式的资源工程图标 #1409

Closed
2 tasks done
Chiloven945 opened this issue Mar 5, 2023 · 2 comments
Closed
2 tasks done

无法加载svg格式的资源工程图标 #1409

Chiloven945 opened this issue Mar 5, 2023 · 2 comments
Labels
· Bug 拒绝 / 放弃 不会制作该功能,或无法修复该 Bug

Comments

@Chiloven945
Copy link
Contributor

检查项

  • 我已点击 设置 → 启动器 → 检查更新 确认了启动器已为最新版,且最新版未修复这个 Bug。怎样更新?
  • 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过。

描述

Modrinth似乎支持上传svg格式的图片,比如说MidnightControls,但是PCL好像只支持加载位图

重现步骤

找到一个用svg格式为图标的资源

日志与附件

[02:53:40.885] 加载位图失败(\AppData\Local\Temp\PCL\CompLogo\12673158267540459614.png3779):参数无效。
在 System.Drawing.Bitmap..ctor(Stream stream)
在 PCL.MyBitmap..ctor(String FilePathOrResourceName)
错误类型:System.ArgumentException
[02:53:40.885] 读取资源工程图标失败(
\AppData\Local\Temp\PCL\CompLogo\12673158267540459614.png):参数无效。
在 System.Drawing.Bitmap..ctor(Stream stream)
在 PCL.MyBitmap..ctor(String FilePathOrResourceName)
在 PCL.MyCompItem._Closure$__6-1._Lambda$__0()
错误类型:System.ArgumentException
[02:53:40.885] 下载资源工程图标失败(https://cdn.modrinth.com/data/bXX9h73M/icon.svg):参数无效。
在 PCL.MyCompItem.LogoLoader(String Address)
错误类型:System.ArgumentException

@Chiloven945 Chiloven945 added · Bug 新反馈 需要社区初步确认其有效的新 Issue labels Mar 5, 2023
@LTCatt
Copy link
Member

LTCatt commented Mar 5, 2023

不考虑支持,抱歉(

@LTCatt LTCatt added 拒绝 / 放弃 不会制作该功能,或无法修复该 Bug and removed 新反馈 需要社区初步确认其有效的新 Issue labels Mar 5, 2023
@LTCatt LTCatt closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2023
@HexDragon-Bot HexDragon-Bot added the 新反馈 需要社区初步确认其有效的新 Issue label Mar 5, 2023
@Chiloven945
Copy link
Contributor Author

机器人抽风了(

@LTCatt LTCatt removed the 新反馈 需要社区初步确认其有效的新 Issue label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· Bug 拒绝 / 放弃 不会制作该功能,或无法修复该 Bug
Projects
None yet
Development

No branches or pull requests

3 participants