How to convert an SVG string into a jpg with Inkscape
问题 After having spent two days attempting to rasterize jpeg's from SVG strings using ImageMagick I have finally given up. Although I managed to get the actual conversion working fine it seems Imagemagick cannot properly convert the transform/rotate features correctly when rendering the image, leaving the output different to the original SVG. Having researched further it appears that this is a known issue and that 'Inkscape' is the best method to use for converting SVG into jpeg/png in PHP. The