-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Comments
不考虑支持,抱歉( |
机器人抽风了( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
检查项
设置 → 启动器 → 检查更新
确认了启动器已为最新版,且最新版未修复这个 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
The text was updated successfully, but these errors were encountered: