You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Mathieu Leplatre <ma...@mfi.fr> on 2006/04/06 16:24:09 UTC

Improve image quality SVG to PDF ( XSL-FO)

I read the explanation about graphics resolution here :
http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#resolution

but it doesn't explain how to get an higher resolution when the SVG is 
embedded in a  <fo:instream-foreign-object>

SVG images will then be defined as
<image xlink:href="..." x="38" y="29" width="43" height="37" id="img"/>
with both height and width....

Images quality is extremely poor (my images are 1200dpi...which is fine 
enough).
An example is here :
http://leplatre.free.fr/pub/qcaa.png

How could I get better results ?

-- 
Mathieu Leplatre
Météo France International
GSM: +974 579 3608
Fax: +974 436 5086


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Improve image quality SVG to PDF ( XSL-FO)

Posted by Mathieu Leplatre <ma...@mfi.fr>.
I was using 0.20.5
...I am now using 0.91 with FOUserAgent methods, and it works great, my 
images come out well !
Thanks !

Jeremias Maerki wrote:
> On 06.04.2006 16:24:09 Mathieu Leplatre wrote:
>   
>> I read the explanation about graphics resolution here :
>> http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#resolution
>>     
>
> You reference the 0.20.5 documentation. Earlier you talked about a "0.92
> changelog" but there's no version 0.92, yet. Which FOP version are you
> using exactly?
>
>   
>> but it doesn't explain how to get an higher resolution when the SVG is 
>> embedded in a  <fo:instream-foreign-object>
>>
>> SVG images will then be defined as
>> <image xlink:href="..." x="38" y="29" width="43" height="37" id="img"/>
>> with both height and width....
>>
>> Images quality is extremely poor (my images are 1200dpi...which is fine 
>> enough).
>> An example is here :
>> http://leplatre.free.fr/pub/qcaa.png
>>
>> How could I get better results ?
>>     
>
> If you use the latest release (0.91beta or later) you can use the
> target-resolution option in the configuration file or in the FOUserAgent
> to improve the resolution of your images. It's described here:
> http://xmlgraphics.apache.org/fop/latest/configuration.html
> and here:
> http://xmlgraphics.apache.org/fop/latest/embedding.html#config-internal
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>   

-- 
Mathieu Leplatre
Météo France International
GSM: +974 579 3608
Fax: +974 436 5086


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Improve image quality SVG to PDF ( XSL-FO)

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 06.04.2006 16:24:09 Mathieu Leplatre wrote:
> I read the explanation about graphics resolution here :
> http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#resolution

You reference the 0.20.5 documentation. Earlier you talked about a "0.92
changelog" but there's no version 0.92, yet. Which FOP version are you
using exactly?

> but it doesn't explain how to get an higher resolution when the SVG is 
> embedded in a  <fo:instream-foreign-object>
> 
> SVG images will then be defined as
> <image xlink:href="..." x="38" y="29" width="43" height="37" id="img"/>
> with both height and width....
> 
> Images quality is extremely poor (my images are 1200dpi...which is fine 
> enough).
> An example is here :
> http://leplatre.free.fr/pub/qcaa.png
> 
> How could I get better results ?

If you use the latest release (0.91beta or later) you can use the
target-resolution option in the configuration file or in the FOUserAgent
to improve the resolution of your images. It's described here:
http://xmlgraphics.apache.org/fop/latest/configuration.html
and here:
http://xmlgraphics.apache.org/fop/latest/embedding.html#config-internal


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org