Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why images in Crystal Report with white background doesn't show as pure white?

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?

like image 262
Rory Avatar asked Jun 14 '10 20:06

Rory


2 Answers

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

The docs says:

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:

File -> Report Options -> Retain Original Image Color Depth.

like image 173
Bernhard Koenig Avatar answered Sep 21 '22 17:09

Bernhard Koenig


Solution to this problem is using images with low color depth. It worked for 8bit PNGs.

like image 26
Victor Avatar answered Sep 18 '22 17:09

Victor