php - SVG to PNG with imagick -


I have a STV in which some images have been embedded in it. Something like this:

  & lt ;? XML version = '1.0' encoding = 'UTF-8'? & Gt; & Lt; Svg width = "483" height = "710" xmlns = "http://www.w3.org/2000/svg" xmlns: xlink = "http://www.w3.org/1999/xlink" & gt; & Lt; Ch & gt; & Lt; Title & gt; Layer 1 & lt; / Title & gt; & Lt; Image ID = "svg_1" y = "0" x = "0" height = "199" width = "176" xlink: href = "http://192.168.3.2/images/1341920552_test.png" /> & Lt; / G> & Lt; / Svg & gt;   

So when I convert it to my regular Linux user through the command line, it changes PNG properly. But if I even do the data with the user-the data converts it, but the PNG with the result results like other things like lines etc. Show me

Very similar problem is not appreciated if I see the images attached to the PHP fancy library. After a "text" itemprop = "text">

After seeing a lot of experimentation that all users have this problem if they have via SSH Logged in are the normal desktop users, who are logged on in the GUI session, can change without any problems.

I have solved this problem by adding HTML URL to the embedded image and adding local file system paths. It slows down my app with the current design but is resolved for this time anyway.

I would like to know why this is so.

Comments