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 "Beer, Christian" <BE...@DIRON.de> on 2001/10/12 11:06:47 UTC

Image quality/resizing...

Hi List!!

I am using FOP for a few projects where I am including images
into the pdf.

I am doing it normaly using
  <fo:external-graphics src="{Motiv/@src}"/>

but I thought about trying
  <fo:instream-foreign-object>
    <svg:svg width="148mm" height="105mm">
       <svg:image xlink:href="{Motiv/@src}"
                  image-rendering="optimizeQuality" 
                  width="148mm" height="105mm"/>
    </svg:svg>
  </fo:instream-foreign-object>

because of "image-rendering='optimizeQuality'". I tried it,
but I don't think it does have any effects. 

The image is resized to the specified width/height but using
pixel-resize not resampling i think. How can I optimize the 
image quality?

Thanks 
	Christian
  

__________________________________________________
DIRON Wirtschaftsinformatik GmbH & Co. KG
Christian Beer          (Christian.Beer@diron.de)
Daimlerweg 39-41        Tel. : +49(251)979-200
48163 Muenster          Fax  : +49(251)979-2020
Germany                 Email: info@diron.de  

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