向 Crystal Reports 添加具有透明度的图像 [英] Add an image with transparency to Crystal Reports

查看:19
本文介绍了向 Crystal Reports 添加具有透明度的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Crystal Reports 真的不支持具有透明度的图像吗?

Is it really true that Crystal Reports does not support images that have transparency?

我们在工作中使用它,而做 Crystal Reports 的人告诉我它不支持透明度.我简直不敢相信,所以我花了最后 20 分钟在谷歌上搜索,认为他可能是对的.在这个时代,这似乎绝对令人难以置信.

We are using it at work and the guy that does Crystal Reports told me it doesn't support transparency. I couldn't believe it so I've spent the last 20 minutes googling and think he might be right. This seems absolutely incredible in this day and age.

任何人都可以确认 CR 是否支持透明度,如果支持,您是如何做到的(我们不受要插入的图像类型的限制 - png、gif 等).

Can anyone please confirm whether or not CR supports transparency, and if so how you do it (we are not limited by the type of image to insert - png, gif etc).

为了记录,我们使用的是 VS 2008 附带的 CR 版本(版本 10.5).

For the record we are using CR version that comes with VS 2008 (version 10.5).

推荐答案

CR 不支持透明度,但您可以使用 wmf 图像来解决您的问题.我正在使用 CR 12 (2008),我需要将图像作为签名(作为水印)放在另一个图像上.

CR doesn't support transparency but you can use a wmf image to solve your problem. I'm using CR 12 (2008), i need to put an image as signature (as a watermark) on another image.

例子:

Background_image.jpgSignature_image.jpg

Background_image.jpg Signature_image.jpg

使用Inkscape"(免费软件)将 Signature_image.jpg 转换为 wmf 文件.

Convert Signature_image.jpg into a wmf file using "Inkscape" (freeware).

在报告中,我们有Background_image.jpg"和Signature_image.wmf"图像,效果很好!

In the report, we have "Background_image.jpg" and over it the "Signature_image.wmf" image, it works great!

这篇关于向 Crystal Reports 添加具有透明度的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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