Graphic Design: 

 
Flash Distraction
of the Week

About Cartoon Smart

GCCCD Blackboard

GD 222
Home
Syllabus
Schedule
News
Labs
Videos
Flash Resources
Web Dev Resources

 

GD 222 Flash Web Animation - Spring, 2008
Online Course
http://www.cuyamaca.edu/jeff.sale/gd222/

Vectors vs. Bitmaps
Why Flash is Fast
Baro

The first file below is a Flash .swf file with a size equal to 1 Kbyte. The second file below is a JPG bitmap exported from the first file and saved with medium compression settings with a size equal to 13 Kbytes, thirteen times larger than the Flash file it was created from. The original Flash .fla file is 43 Kbytes. If we export as an uncompressed 24-bit .bmp format image the size is equal to 647 Kbytes, hundreds of times larger than the .swf file. This is why Flash is called 'fast'. The filesizes are usually very small compared to bitmaps of similar content so they download FAST!!

It is important to keep in mind that since Flash can import bitmaps, Flash files containing bitmaps will be as large as the bitmaps would be by themselves, even possibly a bit larger. This is why Flash provides the option of converting a bitmap to a vector to reduce its filesize.

Another advantage of SWF files is that you can edit the individual objects forever. Editing the circle or rectangle in the bitmaps is difficult if not impossible.

Yet another cool thing about SWF files is they will enlarge their scale to fit your browser window, whereas bitmaps will not. Click the links above the images to see this in action:

SWF File (1 Kbyte):

Compressed JPG Bitmap (13 Kbytes):
Bitmap

Uncompressed BMP File (647 Kbytes):
.bmp Bitmap

SWF File containing imported BMP file (10 Kbytes):

SWF containing TRACED BMP File (39 Kbytes):

 

Jeff Sale

E-mail: jeff.sale (at) gcccd.edu
Phone: 619-660-4000
Fax: 619-660-4399
Graphic Design, Cuyamaca College
You may also reach me at jsale37 (at) gmail.com