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.
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
.
Solution to this problem is using images with low color depth. It worked for 8bit PNGs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With