"Life would be so much easier if we only had the source code."
All articles
Last comments
Shekin
You can install 370 version also
Vitali80
Thank you so much for your help Shekin, you're great
Shekin
1. sudo xed /etc/apt/sources.list.d/ewscott9-snes9x-trusty.list 2. paste there 2 strings deb http://ppa.launchpad.net/ewscott9/snes9x/ubuntu trusty main deb-src http://ppa.launchpad.net/ewscott9/snes9x/ubuntu trusty main 3. add GPG key.
Vitali80
Sorry for my ignorance but where I can replace "xenial"?
Archive
«    December 2016    »
MonTueWedThuFriSatSun
 1234
567891011
12131415161718
19202122232425
262728293031 
» » Potrace - transform bitmap images into vector

Potrace - transform bitmap images into vector

Potrace - transform bitmap images into vector

Sometimes you can be faced with the need to get out of some image in hi resolution. If you are not an Illustrator, you might need to get a result good quality of graphics with low resolution, so that it can be arbitrarily increased, and the elements were smoothed out.



Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.


Potrace is a utility for tracing a bitmap, which means that the pixel image is converted into a smooth, scalable image. The original image can be of the formats PBM, PGM, PPM or BMP format, output format, default is EPS (Encapsulated PostScript), with additional options you can specify another format (PDF, SVG, DXF, PGM, PostScript, GeoJSON, Gimppath and XFig).

Without special programs of drawing, you can do the following: take a raster editor like GIMP, resize the image using the best smoothing method and then add a selective blur. Most often it does not give satisfactory results.

The renderer (trace) like potrace accept the input bitmap and creating an image in SVG format. potrace even supports output to PDF.

Example command line:

potrace -s image.bmp

Original                                                       Result

Potrace - transform bitmap images into vectorPotrace - transform bitmap images into vector

Potrace - transform bitmap images into vectorPotrace - transform bitmap images into vector

Potrace - transform bitmap images into vectorPotrace - transform bitmap images into vector

Potrace gives very good results for many images. If the input image has sharp elements, potrace passes them, while the expensive proprietary software gives poor results, smoothing the edges; it took a lot of manual editing.

Potrace advantages relative to other programs:

  • very good results
  • works pretty quickly
  • easily run from the command line you can call from the free vector graphics package Inkscape (by menu command "Path / Trace Bitmap" or Shift+Alt+B).

Cons:

  • produces only monochrome images

Potrace - transform bitmap images into vector

Installation into Linux Mint:

sudo apt-get install potrace

Remove from Linux Mint:

sudo apt-get remove potrace

Good Luck!!!

http://potrace.sourceforge.net/

Related articles

Add a comment

  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
Login via
Up