Windows 8 24x24 徽章徽标图像未通过 wac 工具测试 [英] Windows 8 24x24 badge logo image failing wac tool test

查看:23
本文介绍了Windows 8 24x24 徽章徽标图像未通过 wac 工具测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用工具 Microsoft Visual Studio Express for Windows 8 开发 Windows 8 应用程序当我创建要上传到应用商店的应用包时,它无法通过 WAC 工具测试并给出以下错误.

图像参考images\badge_24.png":图像C:\Program Files\WindowsApps\myproject\images\badge_24.png" 在位置 (9, 0) 处有一个 ABGR 值 "0x1D5E50E9"这是无效的.像素必须是白色 (##FFFFFF) 或透明 (00######).

我在网上搜索并找到了链接 VS 更新 1 中的徽章问题

我没有将 34x34 图像用于徽章徽标.我正在使用 24x24 图像,但由于 wac 工具出现错误,我无法将其提交到 App Store.

我尝试使用 34x34 图像但它不起作用有人可以帮助我吗?

解决方案

我非常了解这个问题.它与图像大小无关,而与图像内容有关.错误消息实际上非常准确 - 并非徽章徽标中的所有像素都满足全白 ##FFFFFF 或透明 00###### 的要求.

我建议你的第一步是确认我的回答是正确的.为此,只需创建一个临时的 24x24 图像,该图像将是完全白色的.如果您使用此临时白色徽标,WAC 应该会通过.

下一步是获得合适的徽标图像.我使用 GIMP 图形工具 (http://www.gimp.org/downloads/) 执行了以下操作:

  1. 确定徽标的背景颜色,导航到颜色">颜色到 alpha"并选择已识别的颜色.这使您的背景变得透明.
  2. 现在是时候通过颜色">去饱和"对整个图片进行去饱和
  3. 仅将位限制为 ##FFFFFF 和 00######:导航到颜色 > 亮度-对比度并将亮度和对比度设置为最大值.

可以肯定,我是对的,您可能希望将您当前的徽章徽标附加到您的原始问题中.

I am developing windows 8 app using tool Microsoft Visual Studio Express for Windows 8 When I am creating app packages to upload on app store it fails the WAC tool test and gives out following error.

Image reference "images\badge_24.png": The image "C:\Program Files\WindowsApps
\myproject\images\badge_24.png" has an ABGR value "0x1D5E50E9" at position (9, 0) 
that is not valid. The pixel must be white (##FFFFFF) or transparent (00######).

I searched on net and found the link Badge Issue in VS update 1

I am not using 34x34 image for badge logo. I am using 24x24 image still I am getting the error by wac tool due which I can not submit this to App Store.

I tried with using 34x34 image but its not working can any one help me with this?

解决方案

I know this problem very well. It is not related to the image size but to the image content. The error message is actually very precise - not all pixels in your badge logo fulfill the requirement that they are fully white ##FFFFFF or transparent 00######.

I suggest your first step is a confirmation that my answer is right. For that purpose just create a temporary 24x24 image which would be completely white. If you use this temp white logo the WAC should pass.

Next step would be to get a proper logo image. I did the following with GIMP graphic tool (http://www.gimp.org/downloads/):

  1. Identify background color of your logo, navigate to Colors > Color to alpha and select the identified color. That makes your background transparent.
  2. Now it's time to desaturate the whole picture by Colors > Desaturate
  3. Restrict bits to ##FFFFFF and 00###### only: Navigate to Colors > Brightness-Contrast and set both Brightness and Contrast to the max values.

To be sure, I am right you might want to attach your current badge logo to your original question.

这篇关于Windows 8 24x24 徽章徽标图像未通过 wac 工具测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆