What Every One Ought to Know About Vectors

If you are working with printed media or Flash, one obstacle you will run into on a regular basis is that source material on the Internet tends to be bitmap based, while it is much easier to use vector based images for those types of things.

I myself have written about it, but there’s a lot of literature on the difference between bitmap and vector graphics. One question that arises: how to convert between the 2 formats? There’s vector to bitmap conversion, which is relatively easy. Because all lines are defined in the vector drawing independent of the resolution, it’s just a matter of entering the image size you want and figuring out where you want to put the corresponding pixels. Usually called rasterisation, it’s an especially interesting problem in a 3D context.

But this post is about the other way around. The conversion from bitmap to vectors. A real artist will do it by hand: put the bitmap image as a background in Inkscape and start creating curves that fit. It is a slow process, but it can lead to incredible results. There is an easier way however, right inside Inkscape there is a “trace bitmap” option that will do the job for you. Albeit with lower quality, but it will be finished during this lifetime.

Trace Bitmap in Inkscape

Just a small sample to get you going:

  • I started with this picture from my Flickr set and first cleaned it up a little. There was on object blocking the camera (a strap? I’m not sure) and it’s a bit out of focus. So I cropped it until I got this:

squareporto

  • I opened the image in Inkscape and traced it. I put it in color mode with 8 passes. This means the resulting image will have 8 colored layers and thus also 8 colors. You might want to increase that a bit for some pictures, but I think it gives a nice stylized result (converted back to PNG so it works in all browsers) :

squareportotraced

Now what can you do with that vectorized image? There are a few options:

  • Supersize it or isolate small parts for neat effects

large

  • Split it in layers

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

And here are some free vector graphics if you’d need them.

Share and Enjoy:
  • DZone
  • Digg
  • StumbleUpon
  • NewsVine
  • del.icio.us
This entry was posted in VisualMedia. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

5 Comments

  1. Posted January 11, 2009 at 4:52 am | Permalink

    Hello
    That's a really informative article. If you'd like, you can add ArtBox7 to this list also. This is a website dedicated to free vectors, photoshop brushes and textures ;)

    Thank you

  2. Posted January 22, 2009 at 1:19 am | Permalink

    There's some beautiful artwork on your site. I might even use a few, but I'm not sure on the license. Can I use it on my sites? Of course with the proper credit.

  3. Posted June 15, 2009 at 8:37 am | Permalink

    Please also include mrvector.com. The license allows you to use our vector artwork in your own projects, both personal and commercial. You just can't give the vectors away or resell them as vectors or brushes.

  4. Posted June 16, 2009 at 12:40 am | Permalink

    Thanks for the link. Looks like you have some nice vectors on your site. I'm going to have to create a vector resource post in the near future.

  5. Posted June 16, 2009 at 9:40 am | Permalink

    Thanks for the link. Looks like you have some nice vectors on your site. I'm going to have to create a vector resource post in the near future.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

blog comments powered by Disqus
  • Categories

  • Archives

  • Subscribe

    If you liked this post, why not subscribe to the RSS feed? Two times a week, you'll receive the latest post right in your news reader or mailbox.

    Subscribe via the RSS feed

    Or subscribe with your email address