|
Re: Sending reports with graphics via email [message #535571 is a reply to message #535519] |
Mon, 24 May 2010 15:54 |
|
Take a look at this page:
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp#emitterconfiguration
It describes how BIRT handles images. Essentially there are two
implementations of the IHTMLImageHandler class. One for file system
links and one for web use. If you use the HTMLCompletImageHandler
(which is the default) you should be able to set your image directory
to ./ which will create the images in the same directory as the report
html, which should allow you to send the html and the images in an
email. If you do not like this approach you could always implement your
own IHTMLImageHandler class to decide how you want to handle the images
(ie embedded them in a data html element base64 encoded).
Jason
On 5/24/2010 5:01 AM, Rafal Wojtowicz wrote:
> Hi,
> I'm using linux to send my reports via email. In cron I have commands to
> download report with wget and then I redirect the output to email
> program with html option enabled. It works fine, but charts are not
> sent. Have anyone solved this problem yet? I think the best solution
> would be to encode graphics into html source, but haven't found any
> simple program that could run from command line. Any suggestions would
> be much appreciated.
>
> Rafal
|
|
|
Powered by
FUDForum. Page generated in 0.02835 seconds