Search found 2 matches
- 2018-10-06T13:02:00-07:00
- Forum: IMagick
- Topic: How to edit and draw SVGs from XML SVG string?
- Replies: 4
- Views: 84654
Re: How to edit and draw SVGs from XML SVG string?
Alright, that's not a problem. I can pass a variable to the SVG, and set the fill colour on it that way, no biggie there. If there was a way imagick could have done it, that would have been cool. Although, would it keep the transparent background when rasterizing? Then I'd imagine I just use $draw ...
- 2018-10-06T12:23:03-07:00
- Forum: IMagick
- Topic: How to edit and draw SVGs from XML SVG string?
- Replies: 4
- Views: 84654
How to edit and draw SVGs from XML SVG string?
Hi, I have the XML for an SVG, but I'm struggling to understand how I can manipulate it so I can change its colour/add it as a layer to a greater Imagick object. I can do readImageBlob and then echo out the results, and see my SVG just fine. But when I use http://php.net/manual/en/imagickdraw ...