GIFs and FastReport3 - need help

I've put this question everywhere I can think of, since I haven't gotten any answers to what I hoped was a simple question. Please forgive the cross-postings.

I'm using the fastreport3 vcl, and trying to insert a gif file into a report (actually, each record has a filename, and I'm using a script to invoke a picture control's LoadFromFile method to load the gif). I'm using Delphi 7.

When I preview the report from the design environment, my gif files display perfectly (lulling me into a false sense of security, apparently). When I run the report from my application, however, things are different (and, to be specific, I'm not really viewing the report from my app, just saving it to a pdf). I get an "unknown picture file extension" message and the report doesn't export properly.

On the fastreport Web site it says "JPG and GIF images can also be inserted but are not directly supported as they require additional Delphi graphic support libraries. These libraries are are freely available elsewhere."

Is this actually true? How do you get these libraries and where? Do you have to then alter fastreport in any way to make it know that they're around? (and how come fastreport can handle the gifs in design mode but not in the running app?)

Thanks for any help you can offer.

Thanks,
Warren

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.