Win10下保存的图形中不需要的透明度 - 向后兼容性问题? [英] Unwanted transparency in saved graphic under Win10 - backwards compatibility issue?

查看:95
本文介绍了Win10下保存的图形中不需要的透明度 - 向后兼容性问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我帮助支持为教育社区开发的自定义图形应用程序,因此旧版Windows(包括XP)的向后兼容性仍然很重要。该应用程序的框架是使用Real Studio构建的,并且绘制
函数由各种插件和图形引擎控制。

I help to support a customized graphics application developed for the education community, so backwards compatibility for older versions of Windows (including XP) is still important. The framework of the app was built with Real Studio, and plotting functions are controlled by various plug-ins and a graphics engine.

从Win7开始,我们发现对于某些计算机(并非所有计算机),尝试从图形绘图窗口保存某些东西会产生一个奇怪的图像,这部分是我们所说的图像的透明形式保存,以及桌面上的任何内容
下面。

Starting with Win7, we found that with some computers (not all), trying to save something from the graphics plot window would produce a strange image that was partly a transparent form of the image we meant to save, and whatever was on the desktop underneath.

在Win7中,我们可以通过设置应用程序的属性来忽略桌面组合来管理问题。然后应用程序将使用基本配色方案启动,而不是Aero,否则就可以了。

In Win7, we could manage the problem by setting the properties of the app to ignore desktop composition. The app would then launch with a basic color scheme, not Aero, but otherwise be fine.

With但是Win10,这个属性似乎不再可以改变,所以我们有点卡住了。

With Win10, though, that property doesn't seem to be changeable any more, so we are a bit stuck.

对于为什么会发生这种情况的任何想法,以及我们可能需要做些什么来解决它(如果它确实可以修复),将非常感激。正如您可能已经猜到的那样,我们是一家资源有限的小商店,但我们希望尽可能多地花费
来支持我们的用户群。谢谢。

Any thoughts on why this is happening, and what we might need to do to fix it (if it is indeed fixable), would be very much appreciated. As you might have guessed, we're a small shop with limited resources, but we want to do as much as we can to keep our user base supported. Thanks.

推荐答案

嗨sunfish999,

Hi sunfish999,

欢迎来到论坛,但在阅读完您的描述后,我对您的问题感到有些困惑。

Welcome to the forum, however after read your description, I got a bit confusing with your issue.

>> 从Win7开始,我们发现对于一些计算机(不是全部),尝试从图形绘图窗口保存一些东西会产生一个奇怪的图像,部分是我们想要保存的图像的透明形式,以及桌面上的任何内容
下面。

你能解释一下这个部分吗?我几乎无法想象你正在使用什么样的图像或你的描述中有什么"奇怪"。

Can you explain more on this part, I could hardly image what kind of image you are working with or what is 'strange' in your description.

听起来你的应用程序可以正常使用Win7基本颜色架构而不是Aero,但据我知道我们无法在Win8上也禁用Win8后的桌面窗口管理器,我不要以为忽略桌面组合仍然适用于当前的操作系统(桌面
窗口管理器始终开启
,即使文章适用于win8,但在win10上应该相同)

Sounds like your app will works fine with Win7 basic color schema instead of the Aero, however as I know we cannot disable the Desktop Window Manager after Win8 also on Win10, I don't think ignore desktop composition will still works with current OS (Desktop Window Manager Is Always On, even the article is applied for win8 but should be same on win10)

在生成图像时,您可能需要以某种方式更改代码。

Probably you may need to change the code somehow when generate the image.

- 詹姆斯


这篇关于Win10下保存的图形中不需要的透明度 - 向后兼容性问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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