Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

GD Library / svg thumbnails

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


nkatzakis at gmail

May 5, 2008, 10:20 AM

Post #1 of 6 (97 views)
Permalink
GD Library / svg thumbnails

Hello.

I recently installed a mediawiki and am trying to set it up to render svg
images. My linux host has the GD Library version 2.0.34. The documentation
at the wiki says to enable
$wgUseImageMagick<http://www.mediawiki.org/wiki/Manual:%24wgUseImageMagick>to
enable ImageMagick but what about the other libraries? What do I have
to
do to enable MediaWiki to display thumbnails of svg images?

thanks in advance,
Jubei
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


brion at wikimedia

May 5, 2008, 11:10 AM

Post #2 of 6 (93 views)
Permalink
Re: GD Library / svg thumbnails [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

KATZAKIS Nicholas wrote:
> I recently installed a mediawiki and am trying to set it up to render svg
> images. My linux host has the GD Library version 2.0.34. The documentation
> at the wiki says to enable
> $wgUseImageMagick<http://www.mediawiki.org/wiki/Manual:%24wgUseImageMagick>to
> enable ImageMagick but what about the other libraries? What do I have
> to
> do to enable MediaWiki to display thumbnails of svg images?

Currently, to support SVG images properly you need some sort of software
to rasterize them; that's not built in to the GD library.

The global config variable $wgSVGConverters includes a default set of
possible rasterizers; of which the default select (in $wgSVGConverter)
is ImageMagick's "convert" command.

ImageMagick isn't the best SVG renderer, but it's perhaps more likely to
be installed than others.


For several pages of documentation about SVG setup, see the wiki:

http://www.mediawiki.org/wiki/SVG

- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgfTagACgkQwRnhpk1wk44BVQCeKgbkODGBwjmCCUrB+DDEPVw8
lzYAoMuwUiUAV+ot4IdastDXBQMACjQS
=U0UC
-----END PGP SIGNATURE-----

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dgerard at gmail

May 12, 2008, 8:57 AM

Post #3 of 6 (59 views)
Permalink
Re: GD Library / svg thumbnails [In reply to]

2008/5/5 Brion Vibber <brion[at]wikimedia.org>:

> ImageMagick isn't the best SVG renderer, but it's perhaps more likely to
> be installed than others.


ImageMagick is about the worst in my experience!


> For several pages of documentation about SVG setup, see the wiki:
> http://www.mediawiki.org/wiki/SVG


* Unix/Linux: if your distro supports it, use rsvg.
* Unix/Linux: if your distro doesn't include rsvg, Inkscape or
Sodipodi, poke your eyes out with a spork rather than try to install
one of those three by hand.
* Windows: use Inkscape, which comes as a nice standalone package.


- d.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


nkatzakis at gmail

May 13, 2008, 3:12 AM

Post #4 of 6 (46 views)
Permalink
Re: GD Library / svg thumbnails [In reply to]

Everyone thank you for the help. I have asked my host to install one of
these libraries!

Nick

On Tue, May 13, 2008 at 12:57 AM, David Gerard <dgerard[at]gmail.com> wrote:

> 2008/5/5 Brion Vibber <brion[at]wikimedia.org>:
>
> > ImageMagick isn't the best SVG renderer, but it's perhaps more likely
> to
> > be installed than others.
>
>
> ImageMagick is about the worst in my experience!
>
>
> > For several pages of documentation about SVG setup, see the wiki:
> > http://www.mediawiki.org/wiki/SVG
>
>
> * Unix/Linux: if your distro supports it, use rsvg.
> * Unix/Linux: if your distro doesn't include rsvg, Inkscape or
> Sodipodi, poke your eyes out with a spork rather than try to install
> one of those three by hand.
> * Windows: use Inkscape, which comes as a nice standalone package.
>
>
> - d.
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


nkatzakis at gmail

May 13, 2008, 6:03 AM

Post #5 of 6 (45 views)
Permalink
Re: GD Library / svg thumbnails [In reply to]

Here's what my host came back with:

*We're able to install on your server the following modules:
Gnome2::Rsvg
Image::LibRSVG
XML::LibRSVG
Could you tell me what is the exact module you need and we'll install it for
you?
*
David could you point me to a webpage where I can read more about rsvg so
that I can tell my hosting company what to install?

thanks in advance,
Nick

On Tue, May 13, 2008 at 12:57 AM, David Gerard <dgerard[at]gmail.com> wrote:

> 2008/5/5 Brion Vibber <brion[at]wikimedia.org>:
>
> > ImageMagick isn't the best SVG renderer, but it's perhaps more likely
> to
> > be installed than others.
> ImageMagick is about the worst in my experience!
> > For several pages of documentation about SVG setup, see the wiki:
> > http://www.mediawiki.org/wiki/SVG
> * Unix/Linux: if your distro supports it, use rsvg.
> * Unix/Linux: if your distro doesn't include rsvg, Inkscape or
> Sodipodi, poke your eyes out with a spork rather than try to install
> one of those three by hand.
> * Windows: use Inkscape, which comes as a nice standalone package.
>
>
> - d.
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dgerard at gmail

May 13, 2008, 6:10 AM

Post #6 of 6 (45 views)
Permalink
Re: GD Library / svg thumbnails [In reply to]

2008/5/13 KATZAKIS Nicholas <nkatzakis[at]gmail.com>:

> Here's what my host came back with:
> *We're able to install on your server the following modules:
> Gnome2::Rsvg
> Image::LibRSVG
> XML::LibRSVG
> Could you tell me what is the exact module you need and we'll install it for
> you?
> *
> David could you point me to a webpage where I can read more about rsvg so
> that I can tell my hosting company what to install?


Um ... well, those Perl modules would require rsvg to be installed for
them to have something to talk to. So *presumably* if they install
one, they will install with it an rsvg binary that MediaWiki can call.

If you asked for rsvg and they replied with a list of Perl modules,
it's not clear they understand that ...

Beyond that, I'm not sure precisely what to advise!

Possibly you could clarify with them what you're really asking for,
i.e. a binary called rsvg that can be run from a PHP script
(MediaWiki).


- d.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.