Search found 6 matches
- 2019-07-21T23:31:33-07:00
- Forum: Users
- Topic: Unable to generate PNG from SVG
- Replies: 10
- Views: 16398
Re: Unable to generate PNG from SVG
You are using RSVG renderer -- see the SVG line in your report. You did not have to list everything. I only asked for the SVG line.
It converts fine for me when I use Inkscape with Imagemagick. It is better than RSVG, typically.
You should try using the command line or PHP exec() to call the ...
- 2019-07-21T22:10:57-07:00
- Forum: Users
- Topic: Unable to generate PNG from SVG
- Replies: 10
- Views: 16398
Re: Unable to generate PNG from SVG
What SVG renderer are you using? See my post above? What does
magick -list format
say for SVG?
Try using my command line command but replace magick for convert. Perhaps your problem is in your Imagick code and not Imagemagick.
i was able to generate PNG for other SVG's but for few SVG i ...
- 2019-07-21T22:06:01-07:00
- Forum: Users
- Topic: Unable to generate PNG from SVG
- Replies: 10
- Views: 16398
Re: Unable to generate PNG from SVG
I would be so happy if i can use node in my server. Its a PHP code.
- 2019-07-21T22:03:23-07:00
- Forum: Users
- Topic: Unable to generate PNG from SVG
- Replies: 10
- Views: 16398
Re: Unable to generate PNG from SVG
Why do you have "newImage"? What is the point of that?
That line can be ignored.
Below is the error i am getting
<img src="<br />
<b>Fatal error</b>: Uncaught ImagickException: MemoryAllocationFailed `**LOCALDRIVEPATH/Local/Temp/magick-12960PEVgxqnEOgtf' @ error/svg.c/ReadSVGImage/3012 in ...
- 2019-07-21T21:58:46-07:00
- Forum: Users
- Topic: Unable to generate PNG from SVG
- Replies: 10
- Views: 16398
Re: Unable to generate PNG from SVG
What IM version? What platform? What SVG renderer and its version: Imagemagick MSVG/XML, RSVG delegate, Inkscape?
Using command line Imagemagick 6.9.10.55 Q16 Mac OSX and Inkscape installed, your svg file renders fine as a basketball
convert test.svg test.png
Windows - Apache Server. Below ...
- 2019-07-21T07:57:01-07:00
- Forum: Users
- Topic: Unable to generate PNG from SVG
- Replies: 10
- Views: 16398
Unable to generate PNG from SVG
Hi,
I am trying to generate PNG for below SVG but i am getting Exception while reading the SVG readImageBlob as Memory allocation failed.
I tried this "ini_set('memory_limit','17M');" but of no use. I am pasting the code with the SVG below.
<?php
$svg='<?xml version="1.0"?>
<svg version="1.1 ...
I am trying to generate PNG for below SVG but i am getting Exception while reading the SVG readImageBlob as Memory allocation failed.
I tried this "ini_set('memory_limit','17M');" but of no use. I am pasting the code with the SVG below.
<?php
$svg='<?xml version="1.0"?>
<svg version="1.1 ...