为什么Crystal Report中带有白色背景的图像不能显示为纯白色? [英] Why images in Crystal Report with white background doesn't show as pure white?

查看:65
本文介绍了为什么Crystal Report中带有白色背景的图像不能显示为纯白色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将图像放入水晶报表中(使用Visual Studio 2005的Crystal Reports)。图像是带有白色背景的产品徽标,报告也具有白色背景。但是当我运行报告时,您会看到它不是很白。灰白色几乎不可见,但在打印时更可见。

I'm putting an image in a crystal report (using Crystal Reports for Visual Studio 2005). The image is a product logo with a white background, and the report has a white background too. But when I run the report you can see it's not quite white. The off-white color is barely visible, but it is visible and more so when printed.

我尝试了多种图像格式,也尝试了透明图像,但它们似乎不起作用(透明像素显示为黑色)。当我使用其他图像时,我注意到微弱的非白色会发生变化-好像它是图像中颜色的函数。

I've tried a variety of image formats, and tried transparent images too but they don't seem to work (transparent pixels show as black). When I use a different image I notice that the faint non-white color changes - as if it's a function of the colors in the image.

还有其他人遇到过这个吗?

Anyone else encountered this? Any suggestions?

推荐答案

可以通过选择以下选项直接在报告中解决:保留原始图像颜色深度

It can be solved directly in the report by checking the option: Retain Original Image Color Depth.

文档说:


如果您希望保留报表中的图像它们被封装时的原始颜色深度,请选择此选项。否则,所有图像在封装之前都将转换为每个像素8位。

If you want images in your report to keep their original color depth when they are encapsulated, select this option. Otherwise, all images are converted to 8 bits per pixel before being encapsulated.

要检查此选项,请访问:

To check this option go to:

文件-> 报告选项-> 保留原始图像颜色深度

这篇关于为什么Crystal Report中带有白色背景的图像不能显示为纯白色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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