Hi Richard, mwlib.rl now converts svg images to png. I hope it works for you ;)
Regards, Volker Richard Ash wrote: > 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 > > > > > > > > -- volker haas brainbot technologies ag fon +49 6131 2116394 boppstraße 64 fax +49 6131 2116392 55118 mainz [EMAIL PROTECTED] http://www.brainbot.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
