rickytan / RTImageAssets

A Xcode plugin to automatically generate 2x, 1x image from 3x image for you, or upscale to 3x from 2x
MIT License
2.46k stars 334 forks source link

自动生成的AppIcon在安装后四周有黑边 #85

Closed ghost closed 8 years ago

ghost commented 8 years ago

如题所示,请问是否是图片的问题。

rickytan commented 8 years ago

图片发一下可以吗?

ghost commented 8 years ago

itunesartwork 2x

rickytan commented 8 years ago

貌似没问题呃……

2016-03-04 9 26 05
ghost commented 8 years ago

我知道为什么了,因为我这个图标的圆角比标准的大,所以会有黑边。建议在制作AppIcon的功能上加一项功能:如果用的图片为方形,那么自动裁剪圆角然后生成图标。

rickytan commented 8 years ago

圆角图标最终生成到 app 上是会自动有。另外,程序中的占位图的半径可以为作参考: