图标的颜色问题 [英] color problem with icons

查看:80
本文介绍了图标的颜色问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



客户在我的应用程序中看到了最后两个版本之间的差异。图标颜色似乎有所改变。


我的应用工具栏从ctoolbar更改为cmfctoolbar,并且某些颜色不一样,但位图图标定义不再更改:


旧版



新版本




图标的粉红色部分看起来非常不同,我不明白为什么。 ctoolbar和cmfctoolbar之间是否有颜色处理或颜色差异?



谢谢


Yan

解决方案

据我所知,这些工具栏类之间没有颜色差异。通常说它是由视觉错觉引起的不同的背景颜色。


您的旧版和新版图标不同,因此这些图标不相同。您将它们插入为png文件。为了更好的检查,您应该插入真正的位图。


使用CToolbar制作程序的屏幕截图,将其保存为bmp,然后将屏幕截图保存为bmp 和您的CMFCToolbar。


您可以比较两者的颜色定义。


颜色应该相同。


问候,Guido


Hi,

a Customer saw a différence in my application between the two last version. The icons colors seems to change.

my application toolbars changes from ctoolbar to cmfctoolbar and some colors are not the sames, but the bitmap icon definition doesn't change anymore :

old version

new version

the pink part of the icon looks like really different, and I don't understand why. is there a color treatment or a color difference between ctoolbar and cmfctoolbar ?

thanks

Yan

解决方案

As far as I know, there is no color difference between these toolbar classes.Normally speaking it's a visual illusion that is caused by a different background color.

Your old and new Version of the icon are different, so these icons are not same. You inserted them as png files. For a better examination you should insert the real bitmap.

Make a screen shot of your programme with CToolbar, save it as bmp, and then save a screen shot as bmp with your CMFCToolbar.

You can compare the color definitions of both then.

The colors should be the same.

Regards, Guido


这篇关于图标的颜色问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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