Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: batch convert svg to png

  1. #11
    Join Date
    Oct 2008
    Location
    Cambridge, England
    Beans
    287
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: batch convert svg to png

    I also wish to convert lots of svg and svgz (not sure exactly what these are really and how they are different from svg's but anyway) files into png, i tried using phatch and it seemed to work fine for lots of file types however svg's did not seem to be among the files that it can convert to or from, am i just missing something? if not can somebody recommend another gui method of converting them as i am not yet proficient enough to use the command line (unless VERY basic).

  2. #12
    Join Date
    Apr 2008
    Beans
    1

    Re: batch convert svg to png

    Quote Originally Posted by forger View Post
    In ubuntu 8.04.1 (hardy heron) or 8.10 (intrepid ibex) you have phatch:
    Code:
    sudo apt-get install phatch
    Unfortunately phatch is not able to manage svg files

  3. #13
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: batch convert svg to png

    Quote Originally Posted by ilpillo View Post
    Unfortunately phatch is not able to manage svg files
    Phatch 0.2 handles svg files and is available in Ubuntu Karmic. For older Ubuntu versions you can use:
    https://launchpad.net/~stani/+archive/ppa

  4. #14
    Join Date
    Feb 2005
    Location
    Maine, USA
    Beans
    286

    Re: batch convert svg to png

    You can convert svgs using imagemagick
    All svgs in one folder and via commandline run
    mogrify -format png *.svg
    Change the png to wahtever image format you want. Really quite easy.

  5. #15
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: batch convert svg to png

    I'd really use Inkscape's CLI tools to convert from SVG. Simply because while many programs have some level of SVG support, most of them don't actually have full support for all SVG features.

    For example Imagemagick works fine for basic SVG files, but if you have any blur or other effects in your SVG images it will not be able to include those into the result. Inkscape will.

  6. #16
    Join Date
    Jan 2007
    Location
    India
    Beans
    1,023
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: batch convert svg to png

    +1 for Phatch
    --- I am what I am because of what we all are ----

  7. #17
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: batch convert svg to png

    Quote Originally Posted by mcduck View Post
    I'd really use Inkscape's CLI tools to convert from SVG. Simply because while many programs have some level of SVG support, most of them don't actually have full support for all SVG features.

    For example Imagemagick works fine for basic SVG files, but if you have any blur or other effects in your SVG images it will not be able to include those into the result. Inkscape will.
    The new version Phatch 0.2 uses Inkscape CLI for batch converting SVG. If Inkscape is not installed, it will use ImageMagick as a fallback. Phatch 0.2 is available in Ubuntu Karmic or through a PPA for Jaunty, Intrepid and Hardy:
    https://launchpad.net/~stani/+archive/ppa

  8. #18
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: batch convert svg to png

    Quote Originally Posted by stani View Post
    The new version Phatch 0.2 uses Inkscape CLI for batch converting SVG. If Inkscape is not installed, it will use ImageMagick as a fallback. Phatch 0.2 is available in Ubuntu Karmic or through a PPA for Jaunty, Intrepid and Hardy:
    https://launchpad.net/~stani/+archive/ppa
    That's good news, the SVG support in Imagemagick was always way too limited to be any use.

    ..although I still prefer command-line tools in my own use. But I always recommend Phatch for people who need to handle large amounts of images; for some reason most people don't seem to share my love for scripted image processing..

  9. #19
    Join Date
    Nov 2011
    Beans
    1

    Re: batch convert svg to png

    Thank you very much .

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •