Now that mediawiki has SVG image support built in (it renders them to PNG for 
browsers that can't read SVG graphics), is there support in mwlib? At the 
moment I get an warning:
rlwriter.warning >> img can not be opened by PIL
for each SVG image in the page, and no images in the rendered PDF.

This is a considerable pain for my local wiki (which has a lot of SVG diagrams) 
but will also affect wikipedia sites because they are now using SVG for 
diagrams etc. Given that the wiki server can convert them to PNG (this has to 
be available for the mediwiki install to work with SVGs), can mwlib not 
retrieve the PNG version to use if PIL doesn't have SVG support?

It looks like ReportLab might be able to ingest the SVG files directly:
http://python.net/~gherman/svglib.html
http://python.net/~gherman/presentations/rlgsvg-epc2002.pdf

Richard Ash



      

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to