Re: forrest png's in PDF

Nicola Ken Barozzi <[email protected]> Wed, 24 Sep 2003 15:26:14 +0200
Newsgroups gmane.comp.krysalis.jcharts.devel
Message-ID <[email protected]>
Nathaniel G. Auvil wrote:
>>I'm referring to this page now:
>>http://jcharts.krysalis.org/userGuide/legendDefault.html
>>http://jcharts.krysalis.org/userGuide/legendDefault.pdf
>>
>>I see that the images are correct and not "crap"... the thing is that 
>>the site resolution is of 75DPI so on PDF they may look grainy, but it's 
>>normal... on top of that Acrobat adds some antialiasing so they can look 
>>queer but printed they should be fine.
>>
>>As far as I see the result is correct given the premises; what should 
>>instead be done is that the images are included as SVG that Forrest 
>>transforms, and that are inserted in the PDF as vectorial and not raster.
>>
>>Another RFE for Forrest.
> 
> So generate the site using PNG, then regnerate everything using SVG and only overlay the PDFs?  I
> guess we could automate that with Ant.

Err, me was not clear ;-)

If you place

   myimage.svg

in the images directory, and add link to

  <img src="myimage.png">

then Forrest will *automatically* convert the SVG to PNG and serve that.

What Idon't know if Forrest does, but can be also made to do (hence the 
RFE), is to use the SVG *directly* in the PDF without first transforming 
to PNG, as FOP is able to include vectorial SVG in the result.

-- 
Nicola Ken Barozzi                   [email protected]
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf