图像质量差异 [英] Image quality difference

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

问题描述

我使用C#图形制作了定制的运行时"图像.

我尽一切努力来获得高质量的图像.

I have made a customised ''run time'' image using C# graphics.

I set everything to get the high quality image.

obj.SmoothingMode = SmoothingMode.HighQuality;
obj.CompositingQuality = CompositingQuality.HighQuality;
obj.PixelOffsetMode = PixelOffsetMode.HighQuality;
obj.InterpolationMode = InterpolationMode.HighQualityBicubic;
obj.PageUnit = GraphicsUnit.Display;



在WPF中,输出可以很好地加载,但是如果我们在ASP.NET页面上加载,则同一张图像没有足够的亮度.

在asp.net页面中,红线变成深红线.

知道原因是什么吗?



The output is loading fine in WPF, but same image does''nt have enough brightness if we are loading on ASP.NET page.

Red lines become dark red lines in asp.net page.

Any idea, what is the reason?

推荐答案

浏览器中显示了一个ASP页面,该浏览器负责呈现图像(不同的浏览器可能会以不同的方式处理图像...).在WPF应用程序中,正是WPF应用程序渲染图像(它将由.NET框架完成该工作).
这意味着差异可能是由不同的渲染引擎引起的.
An asp page is shown in a browser, the browser is responsible for rendering the image (and different browsers may handle that differently...). In a WPF application, it is that WPF application to render the image (it will have the .NET framework doing that job).
That means, the differencesare likely caused by different rendering engines.


这篇关于图像质量差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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