Skip to Content
Former Member
Dec 14, 2004 at 08:16 AM

Generating images (GIF) from iViews



I am looking for a way to generate GIF images from my iView.

If I use a regular servlet as a portal component and set the response type to "image/gif", I get an empty HTML page.

Another approach would be to use a normal AbstractPortalComponent. But it seems that an AbstractPortalComponent can only produce HTML/XML/RSS.. output, but no binary format.

To include images as IResources works for static files, but not for Portal Components. Of course it would work to save my image to a file and use that, but I want to avoid that approach.

Has anybody done something like this ?