Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I want to do something and I don't know if it's possible. I am using the imagemagick command-line tools to crop and trim batches of png images but I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Dover, DE
    Posts
    112

    is there a png2svg?


    Hi, I want to do something and I don't know if it's possible.
    I am using the imagemagick command-line tools to crop and trim batches of png images but I want to resize them without loosing quality. I thought I could convert from png to svg but I can't find any program that does that. Does anyone have a png2svg that they use? I know gimp has an svg plugin but I find gimp command-line image manipulation to be too much of a hassle (at least compared to imagemagick), so I have never learned how to use the Gimp for batch file conversions and don't want to take the time to either.

  2. #2
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Location
    Laurel, MD
    Posts
    158
    SVGs are a different type of image file - instead of storing each pixel, they store shapes and similar stuff so they can be drawn at any size "on the fly". You could redraw the images as svgs (I've heard Inkscape is a good program for that), but there's no magic way to convert a bitmapped image to a vector image so the quality will be perfect at any size.
    I have sold my soul to the penguin

  3. #3
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    you can use potrace or autotrace to trace a bw image, putting them into a script may be a good solution.
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Mar 2004
    Posts
    185
    Another, relatively recently opened up, alternative to Inkscape is XaraXtreme. Haven't tried it myself yet, but it's something you could look into if you've exhausted present possiblities.

  6. #5
    Linux Newbie stubbe's Avatar
    Join Date
    May 2006
    Posts
    143
    Xara claimed to be the fastest vector graphic available. Yet this is great news for Linux users, since it was a commercial software before. I've download it but havent do any stress test into the software (doing major graphic thing)

Posting Permissions

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