Yes, convert the GIF into a PNG. :-) The RTF output support currently doesn't have code to convert certain bitmap formats into the ones supported by RTF. The only exception is SVG where we hacked in initial support to internally convert the SVG into a PNG. To make GIFs work, we'd need to add some code that encodes decoded images as PNGs for the image formats that are not directly supported by RTF. I can give you pointers if you'd like to implement this yourself and send a patch.
On 09.01.2006 16:29:10 Sascha Iseli wrote: > hello > > i use the 0.91svn fop-version and i tried to render a gif image in a rtf > and a pdf file. The pdf-file looks very well, but in the rtf-file there is > insteand of the gif-image the following errormessage: > > org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException: > The tag <fo:external-graphic> does not support gif - image type > > i used the basic-example images.fo or the following code: > > <?xml version="1.0" encoding="utf-8"?> > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master > master-name="content" > page-height="29.7cm" > page-width="21cm"> > <fo:region-body/> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="content"> > <fo:flow flow-name="xsl-region-body"> > <fo:block> > <fo:external-graphic src="MeinBild.gif"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > exists for this problem a workaround? > > regards, > sascha Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
