You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Connell, Robert (SAPOL)" <ro...@police.sa.gov.au> on 2004/10/28 01:01:03 UTC

PDF (WITH) dynamic images


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?

Thanks,

Robert




Re: PDF (WITH) dynamic images

Posted by Joerg Heinicke <jo...@gmx.de>.
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