Jerome Munchenberg wrote:
> Abel,
>
> Thanks for such a comprehensive response! Much appreciated.
>
> In the end it all got too hard, and after much experimentation, I
> embedded the GIF in the XSL-FO using BASE64 encoding.
>
> <fo:external-graphic
> width="70mm"
> content-height="scale-to-fit"
> content-width="scale-to-fit"
> src="data:image/gif;base64,R0lGODlhhAl...
> ..."/>
>
> Worked a treat...
Nice to hear that. I wouldn't consider data: URIs to be easy (getting
the GIF encoded is usually the hardest part as you cannot do that with
straight XSLT), but if it works for you that's good ;)
Note that not all XSL-FO processors will support the data: scheme (but
that can actually be true for just about any scheme, though currently
http and file are supported by all of them) as it is much less common
than http: and file:.
Cheers,
-- Abel Braaksma
---------------------------------------------------------------------
To unsubscribe, e-mail:
fop-users-unsubscribe@...
For additional commands, e-mail:
fop-users-help@...