Page MenuHomePhabricator

Imagick support in SVG to PNG conversion
Closed, ResolvedPublic


Author: yecarrillo

Patch to add Imagick support in SVG to PNG conversion

My provider doesn't like passthru and SVG to PNG conversion is not possible. However they had Imagick extension avaliable.

This patch add support for Imagick in this process. To use it, please add

$wgSVGConverter = 'Imagick';

to your LocalSettings.php file


Version: 1.16.x
Severity: normal




Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:32 PM
bzimport set Reference to bz18691.
  • This bug has been marked as a duplicate of bug 14706 ***

yecarrillo wrote:

Patch from bug 14706 only apply for bitmaps sources. My patch is for SVG sources.

yecarrillo wrote:

This patch is not duplicated. It has a better solution for a lot of users. Please consider it.

yecarrillo wrote:

To make this patch work....

'Imagick' => 'Imagick',

instead of

'Imagick' => null,

Bryan.TongMinh wrote:

Anybody around here who can compile PHP extensions for Windows, so that I can test this?

Bryan.TongMinh wrote:

Assigning to me.

Bryan.TongMinh wrote:

Done in r83779. Thank you for the patch.