Search found 7 matches

by kunal
2019-12-29T22:12:00-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Re: Issue in svg to png

You need to upgrade ImageMagick not Imagick. I suppose it depends upon how you install Inkscape. If it is in your $PATH environment variable, then I would think that IM can find it. I know nothing about what versions of PHP support current versions of ImageMagick. I would suggest first trying to in...
by kunal
2019-12-28T01:23:00-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Re: Issue in svg to png

ImageMagick 6.7.2.7 is ancient (almost 3 years old). I would suggest that you upgrade it. I would also suggest installing Inkscape on your system where ImageMagick can find it in your PATH. That way, ImageMagick will use that over the IM internal one, which may not be so good. However, the ImageMag...
by kunal
2019-12-27T22:59:04-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Re: Issue in svg to png

The svg file converts fine for me using IM 6.9.10.81 with Inkscape as the renderer. ImageMagick can use one of 3 SVG renderers: MSVG/XML (ImageMagick default internal renderer), RSVG delegate, Inkscape. You are likely using the IM internal one. Try installing either RSVG as a delegate to ImageMagic...
by kunal
2019-12-27T22:39:01-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Re: Issue in svg to png

I can download the svg from the original post, and just convert it to png with recent ImageMagick that uses default setting: <delegate decode="svg" command=""rsvg-convert" -o "%o" "%i""/> from command line magick. No problem happened. Version: ImageMagick 7.0.9-11 Q16 ...
by kunal
2019-12-27T22:32:26-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Re: Issue in svg to png

Please identify your version of ImageMagick (not Imagick) and what SVG renderer that ImageMagick is using. imagick module version: 3.4.4 imagick classes : Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator Imagick compiled with ImageMagick version : ImageMagick 6.7.2-7 2017-03-22 Q16 http://w...
by kunal
2019-12-27T22:23:30-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Re: Issue in svg to png

snibgo wrote:
2019-12-26T05:10:51-07:00
You have linked to two PNG files. Please link to your SVG file.
The first image is svg image and second one is png after convert with php imagick
by kunal
2019-12-26T01:22:11-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 8231

Issue in svg to png

Hi All, I use php imagemagick for convert svg to png, but code is not convert it properly. this is my code. <?php $im = new Imagick(); $svg = file_get_contents($link); $im->setBackgroundColor(new ImagickPixel('transparent')); $im->readImageBlob($svg); $im->setImageFormat("png32"); $im->writeImage($p...