SVG to JPG / PNG

后端 未结 4 1336
暗喜
暗喜 2021-02-20 14:57

Is there any working module to convert a SVG image into a pixel format like JPEG or PNG?

4条回答
  •  名媛妹妹
    2021-02-20 15:13

    If you're using PEAR you can the XML_svg2image package (http://pear.php.net/package/XML_svg2image/). If not you should take a look at ImageMagick command line tool (http://www.imagemagick.org/script/command-line-tools.php). The convert program is quite simple to use : http://www.imagemagick.org/script/convert.php#usage

提交回复
热议问题