Tutorials Books Videos Forums

Change the theme! Search!
Rambo ftw!

Customize Theme


Color

Background


Done
Look, an author!

Converting Bitmap to Vector

by NeoDreamer   | filed under Flash and ActionScript

Instead of laboring many hours tracing a bitmap in Illustrator or Freehand, you can use a little-known Flash tool to convert a bitmap into a vector: the Trace Bitmap Tool. There are two reasons you may prefer vector over bitmap in your Flash movies. One: to achieve a cool look. Two: to lower your file size.

The original bitmap image

[ the original bitmap ]

The vectorized version of the bitmap

[ the vectorized version ]

Here is How

  1. Import your bitmap image into Flash by choosing File > Import > Import to Stage.
  2. The bitmap should already be selected.
  3. Now we will convert it into vectors by choosing Modify > Bitmap > Trace Bitmap.
  4. I feel that these settings are a good balance between optimizing your image for size and quality. If you want to cater to one side more than the other, then tweak the settings explained below.

Trace Bitmap settings dialog

[ this window will pop up ]

Tweaking the Settings

Color threshold
If the difference between the RGB values of the bitmap is less than this number, then Flash will consider them the same color in the final vector graphic. High numbers will decrease color detail and file size.

Minimum area
This is the size of the block that Flash scans while converting. Color threshold affects color detail, whereas minimum area affects overall detail.

Curve fit
This determines the smoothness of the color blocks' borders. A tighter fit will increase quality, while a smoother fit will decrease file size.

Corner threshold
This is almost the same as curve fit.

Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence, ads, and algorithm-driven doodads. A huge thank you to all of you who buy kirupa's books, became a paid subscriber, watch the videos, and/or interact on the forums.

Your support keeps this site going! 😇

-NeoDreamer

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright KIRUPA 2026 //--