Re: generate pdf from xml with embedded image?

2008-12-26 Thread Jason Johnston
Marten van der Honing wrote: Now i tried: fo:external-graphic src=url('data:image/gif;base64,R0lGODlhMAAzALMAAMe8UuTZWggCDq2lQzAAYCQASJSP ... I think you should omit the url() wrapper: fo:external-graphic src=data:image/gif;base64,R0lGODlhMAAzALMAAMe8UuTZWggC.../ An example from the FOP

Re: generate pdf from xml with embedded image?

2008-12-24 Thread Philippe GAUTHIER
@cocoon.apache.org Onderwerp: RE: generate pdf from xml with embedded image? With xsl:value-of select=$image-base64 / i get the base64 content as tekst inside the pdf. But with fo:external-graphic src=url('data:image/gif;base64,{$image-base64}') height=3cm width=3cm / i still get no visible image

RE: generate pdf from xml with embedded image?

2008-12-24 Thread Peter Flynn
from xml with embedded image? Ken Starks wrote: [...] I did have a few images that were stored also in a database, but I would pre-process them in a seperate stage, generating a local copy, and populating a table of the database with the path. This was a batch process, not an interactive one

RE: generate pdf from xml with embedded image?

2008-12-23 Thread Marten van der Honing
try to show the base64 as text in the pdf first to see if it still there. -Oorspronkelijk bericht- Van: Peter Flynn [mailto:pfl...@ucc.ie] Verzonden: donderdag 18 december 2008 10:24 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Ken Starks wrote

Re: generate pdf from xml with embedded image?

2008-12-23 Thread Joerg Heinicke
: Peter Flynn [mailto:pfl...@ucc.ie] Verzonden: donderdag 18 december 2008 10:24 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Ken Starks wrote: [...] I did have a few images that were stored also in a database, but I would pre-process them in a seperate

RE: generate pdf from xml with embedded image?

2008-12-23 Thread Marten van der Honing
part of my xsl stylesheet. -Oorspronkelijk bericht- Van: Joerg Heinicke [mailto:joerg.heini...@gmx.de] Verzonden: dinsdag 23 december 2008 20:39 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Marten van der Honing wrote: Peter: Did you write

RE: generate pdf from xml with embedded image?

2008-12-23 Thread Marten van der Honing
Onderwerp: RE: generate pdf from xml with embedded image? With xsl:value-of select=$image-base64 / i get the base64 content as tekst inside the pdf. But with fo:external-graphic src=url('data:image/gif;base64,{$image-base64}') height=3cm width=3cm / i still get no visible image :-( The error i

Re: generate pdf from xml with embedded image?

2008-12-18 Thread Peter Flynn
Ken Starks wrote: [...] I did have a few images that were stored also in a database, but I would pre-process them in a seperate stage, generating a local copy, and populating a table of the database with the path. This was a batch process, not an interactive one, and it used python rather than

Re: generate pdf from xml with embedded image?

2008-12-17 Thread Varga Zsombor
Hello i used to display images in my pdf files in this way: fo:block fo:external-graphic width=50mm height=25mm src={/my_path_to/my_image.jpg/ /fo:block try it. Zsombor On Wed, Dec 17, 2008 at 19:39, Marten van der Honing mvdhon...@noeska.com wrote: Hello, I am puzzled on generating an

RE: generate pdf from xml with embedded image?

2008-12-17 Thread Marten van der Honing
: Varga Zsombor [mailto:varga.zsom...@gmail.com] Verzonden: woensdag 17 december 2008 22:28 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Hello i used to display images in my pdf files in this way: fo:block fo:external-graphic width=50mm height=25mm src

Re: generate pdf from xml with embedded image?

2008-12-17 Thread Varga Zsombor
22:28 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Hello i used to display images in my pdf files in this way: fo:block fo:external-graphic width=50mm height=25mm src={/my_path_to/my_image.jpg/ /fo:block try it. Zsombor On Wed, Dec 17, 2008

RE: generate pdf from xml with embedded image?

2008-12-17 Thread Marten van der Honing
van der Honing -Oorspronkelijk bericht- Van: Varga Zsombor [mailto:varga.zsom...@gmail.com] Verzonden: woensdag 17 december 2008 22:42 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Is not possible to define a database-reader for reading only

Re: generate pdf from xml with embedded image?

2008-12-17 Thread Ken Starks
:42 Aan: users@cocoon.apache.org Onderwerp: Re: generate pdf from xml with embedded image? Is not possible to define a database-reader for reading only the image, with a matcher, what matches to your request? Zsombor On Wed, Dec 17, 2008 at 22:34, Marten van der Honing mvdhon...@noeska.com