Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Inkscape 中创建 tabBarItem 图像。我在 30 x 30 像素的 inkscape 文件中绘制了一个简单的黑色图标。我保存为 png 和 svg。我假设当我保存为 png 时背景默认是透明的。但是,当我将它带入 Xcode 并使其成为我的 tabBarItem 时,我得到一个纯白色方块,表示图像不透明并且整个东西被视为黑色像素。
如何以具有透明背景的灰度导出它,以便在 iOS 中获得预期的外观?
谢谢,
德西
这里有一个关于 Inkscape 中透明背景的讨论,可能会有所启发:
http://www.inkscapeforum.com/viewtopic.php?f=22&t=1253