crystal report 导入/插入 图片bug
crystal report 导入/插入图片时没反应
Crystal Reports will insert certain images but not others
After messing with this problem all day, I found out it’s a bug in the Crystal Reports IDE.
Here’s how to duplicate the issue:
- Right click on your report and select Insert >> Picture
- Double-click on the image that you wish to insert.
Depending on your image and how the image was saved in Photoshop, it may or may not insert into the report. I’ve had mixed results and apparently some images work and some do not. I haven’t quite figured out the pattern yet, but I believe it has to do with the color profiles of the image. I probably won’t waste any more time investigating it, because the following resolution has worked for me every time and I can import every image that I’ve created in Photoshop regardless of how the image was saved and the settings used to save the images. (Assuming that they’re all JPGs, of course.)
Resolution:
- Right click on your report and select Insert >> Picture
- SINGLE-click on the image that you wish to insert to select it.
- Click “Open”
The image should insert into the report properly.
It’s a subtle difference, but I hope this saves someone else a few hours of debugging.
Dave