-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
[EMT] Icon with resolution set in win format has been scaled and cannot be converted to krkr format #75
Comments
Thanks for the info, but where are samples? |
That's probably not a good idea because the scale-up will most likely ruin the image quality unless we use something like waifu-2x, but that will be unstable for some users without a good CPU/GPU. Maybe I will just remove "resolution" for krkr (if nothing wrong). |
如果你有问题可以继续在此回复。 |
懂了,影响的是WIN格式texture中的尺寸。那么只能去掉resolution了 |
抱歉 之前忙着做些事 忘了这里 现在还需要提供有错误的文件吗 按照krkr格式输出 其中的一部分是这样的 在krkr里会有这样的结果 把图片放大后去掉resolution等价于把图片切成这样再放大 然后在krkr里才会正常显示 你现在用的是哪种方法呢 2先把icon的width和height乘resolution ,分割成小图后再对每个小图放大1/resolution的倍数 这时每个resolution可以不相等,不知道是否有这种情况 测试文件 |
反馈太慢了,一般7天无反馈我就认为你把我鸽了。现在请你自己尝试新的release。 |
The emote for krkr doesn't support resolution. But the result of psbuild -p krkr has resolution property.
If a psb file has resolution property . There will be a wrong picture.
I think it can be solved like this :
Enlarge the picture 1/resolution multiples. Set left=left/resolution top=top/resolution.
Set height=height/resolution ,width=width/resolution.
Remove resolution property.
All resolutions need to be equal to others.
The text was updated successfully, but these errors were encountered: