苹果发布了新版iTunes Connect &当我试图在iTunes Connect上为我的应用程序设置截图时,我收到了一个错误消息。

"Images can't contain alpha channels or transparencies." 


当前回答

在Pixelmator上,您可以使用“共享>导出Web…”`(⇧+⌘+ e)

在“工具选项栏”中取消选择“透明度”。

其他回答

同样的问题,尝试使用JPG格式!!对我来说有用的是使用jpg文件而不是PNG文件,因为jpg文件不使用alpha或透明功能。我是通过在线图像转换器做到的,或者你也可以在预览中打开图像,然后File->Export,并取消选中alpha作为保存图像并使用此图像的选项。

你可以通过pngcrush命令行删除PNG文件中的alpha通道,使用标志"-c 2":

$ file input.png
input.png: PNG image data, 1024 x 1024, 8-bit/color RGBA, non-interlaced
$ pngcrush -q -c 2 input.png output.png
libpng warning: iCCP: known incorrect sRGB profile
$ file output.png
output.png: PNG image data, 1024 x 1024, 8-bit/color RGB, non-interlaced

注意从RGBA到RGB的变化:Alpha通道消失了!

Pngcrush生活在http://pmt.sourceforge.net/pngcrush/

如果安装了imagemagick,那么可以将以下别名放入.bash_profile中。它会将目录中的每个png转换为jpg,这将自动删除alpha。您可以使用生成的jpg文件作为屏幕截图。

alias pngToJpg='for i in *.png; do convert $i ${i/.png/}.jpg; done'

在Windows 10上,你可以使用Paint 3D。

打开图像 在顶部菜单中选择“画布” 取消选中右侧面板中的“Transparent canvas”复选框 保存

为此我做了一个新的简单的工具。您可以在几秒钟内删除多个.png文件的alpha通道(透明度)。

你可以从这里下载http://alphachannelremover.blogspot.com