You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Darrel Riekhof <da...@tririga.com> on 2001/09/14 05:02:11 UTC

tall image puts Fop in never-ending loop

I tried to insert a jpg that was 800 width by 1035 height.  Here is the
xsl-fo tag I'm using to do it:

	<fo:block>
		  <fo:external-graphic>
			 <xsl:attribute name ="src">
				file:<xsl:value-of select="location"/>
			 </xsl:attribute>
		  </fo:external-graphic>
	</fo:block>

Fop-0.20.1 goes into a never-ending loop, trying to find a page big enough
for this image, and I eventually get an out of memory exception.  Is there a
work-around for this?

Darrel

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: tall image puts Fop in never-ending loop

Posted by Harald Hett <h....@gis-systemhaus.de>.
Hi Darrel!

Use the attributes width and height of the fo:external-graphic element
to scale the image to an appropriate size. 

Bye

-- 
Harald Hett <h....@gis-systemhaus.de>
Gesellschaft für integrierte Systemplanung

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org