本文介绍了替换产品ico文件时,在Tycho中出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用tycho v0.13和maven 3.0构建我们的产品。

在构建

We are using tycho v0.13 and maven 3.0 for building our product.
We get the following error/warning when building

ico文件都是正确的。
作为结果窗口图标正在被标准eclipse图标替换。

the ico files are all proper.as a result window icons are being replaced by the standard eclipse icons.

推荐答案

我不太熟悉Tycho本身,但在这里我相信它正在使用p2附带的品牌代码(最初来自PDE / Build)。

I'm not overly familiar with Tycho itself, but here I believe it is using the branding code that ships with p2 (and which originally came from PDE/Build).

代码从发起启动器可执行并搜索所提供的ico文件中的匹配图像。如果找到符合大小和位深度的图像,那么该图像将被替换。启动器中嵌入了7个图像,所提供的ico应提供与大小和位深度匹配的图像。

The code extracts the icon images from the originating launcher executable and searchs for matching images in the provided ico file. If an image is found that matches the size and bit-depth exactly, then that image is replaced. There are 7 images embedded in the launcher and the provided ico should provide images that match those in size and bit-depth.

错误消息表示发现了7个图标可执行文件在提供的ico文件中没有匹配的大小/位深度。

The error message indicates that 7 of the icons found in the executable did not have matching sizes/bit-depths in the provided ico file.

3.7.2中发布的启动器包含以下大小(顺序无关紧要):

The launcher that shipped in 3.7.2 contains the following sizes (order does not matter):


  • 48x48 8位(256色)

  • 32x32 8位

  • 24x24 8位

  • 16x16 8位

  • 48x48 32位(RGB + Alpha)

  • 32x32 32位

  • 16x16 32位

  • 48x48 8 bit (256 colors)
  • 32x32 8 bit
  • 24x24 8 bit
  • 16x16 8 bit
  • 48x48 32 bit (RGB + Alpha)
  • 32x32 32 bit
  • 16x16 32 bit

4.2中发货的启动器(3.8)包含以下大小:

The launcher that is shipping in 4.2 (3.8) contains the following sizes:


  • 256x256,32位(RGB / Alpha通道)

  • 48x48,32位(RGB / Alpha通道)

  • 32x32,32位(RGB / Alpha通道)

  • 16x16,32位(RGB / Alpha频道)

  • 48x48,8位(256色)

  • 32x 32,8位(256色)

  • 16x16,8位(256色)

  • 256x256, 32 bit (RGB / Alpha Channel)
  • 48x48, 32 bit (RGB / Alpha Channel)
  • 32x32, 32 bit (RGB / Alpha Channel)
  • 16x16, 32 bit (RGB / Alpha Channel)
  • 48x48, 8 bit (256 colors)
  • 32x32, 8 bit (256 colors)
  • 16x16, 8 bit (256 colors)

这篇关于替换产品ico文件时,在Tycho中出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 13:05
查看更多