我试图使用Android Studio附带的Image Asset工具来生成启动器图标。
我使用SVG图片作为输入——https://drive.google.com/open?id=1O4TxpTIzK-eASkKW-4BYrQ305-zDB73E
但是,Image Asset工具生成的输出不满足。
在左侧,它是原始的SVG图像。它清澈透明。(https://drive.google.com/open?id=1O4TxpTIzK-eASkKW-4BYrQ305-zDB73E)
在右侧,它是生成的res \ mipmap-xxxhdpi \ ic_launcher.png(192x192)(https://drive.google.com/open?id=1LXvsYvBeCHvZkhyOMgcnZ9w3LW7_TK7W)。这是模糊的。
我曾尝试https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html,但它也没有帮助。由于romannurik的工具不支持SVG。我首先手动将SVG转换为PNG,然后导入到romannurik的工具中。但结果也是模糊的。
发布于 2018-05-30 16:32:33
尝试使用illustrator将图像大小调整为108px×108px,然后将其保存为svg。然后将其附加到前景层,asset type -> image -> path。
https://stackoverflow.com/questions/-100001636
复制相似问题