cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Connell, Robert (SAPOL)" <robert.conn...@police.sa.gov.au>
Subject RE: PDF (WITH) dynamic images
Date Thu, 28 Oct 2004 00:59:46 GMT
Joerg,

Thanks for your reply !

Unfortunately using the Database Reader is not an option as our database is
an IDMS non-relational database.

We developed a photo-generator that worked fine for the HTML but it had
trouble closing the stream when used with Fop.

Robert

-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
Sent: Thursday, 28 October 2004 10:17 AM
To: users@cocoon.apache.org
Subject: Re: PDF (WITH) dynamic images

On 28.10.2004 01:01, Connell, Robert (SAPOL) wrote:

> We are retrieving images that are stored on a (non-relational) legacy
> database and which are returned to us as byte arrays. It has been possible
> to successfully display these images with HTML but we have not been able
to
> output these byte arrays as images on a PDF document using FOP. We have
> pretty much tried everything without success.
> 
> Has anyone been through the process of actually getting this working?

Getting the images from DB should work with the DatabaseReader (or in 
the same way as you did it for HTML).
Using the images with FOP is not that easy as relative paths don't work:
http://issues.apache.org/bugzilla/show_bug.cgi?id=15316
You have to absolutize them.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message