100
Chapter 5: Bitmaps
A bitmap typically requires more RAM and disk space than a comparable vector shape. If not
compressed, bitmaps take longer than vector shapes to download from the Internet. Fortunately,
Director offers compression control to reduce the size of bitmaps in movies that you package to
play on the web. For more information about bitmap compression, see
“Compressing bitmaps”
on page 129
. For more information about vector shapes, see
Chapter 6, “Vector Shapes,”
on page 135
.
You can create bitmaps in the Paint window or import them from any of the popular image
editors in most of the popular formats, including GIF and JPEG. Director can also import
bitmaps with alpha channel (transparency) data and animated GIFs. The Paint window includes a
variety of tools for editing and applying effects to bitmaps.
About importing bitmaps
Importing bitmaps is similar to importing other types of media. If you import a bitmap with a
color palette or depth different from that of the current movie, the Image Options dialog box
appears. You must choose to import the bitmap at its original color depth or at the current system
color depth. If you are importing an 8-bit image, you have the choice of importing the image’s
color palette or remapping the image to a palette that is already in Director. For more
information, see
“Choosing import image options” on page 45
.
Director can import images with alpha channel (transparency) effects, which are 32 bits. If you
reduce the image to a lower color depth, Director removes all the alpha channel data.
When importing bitmaps, you should always consider that they display on the screen at your
monitor’s resolution (generally 72 to 96 dots per inch). Higher-resolution images that you place
on the Stage in Director might appear much larger than you expect. Other applications,
particularly those focused on creating images for print, let you work on the screen with high-
resolution images at reduced sizes. Within Director, you can scale high-resolution images to the
right size, but this might reduce the quality of the image. Also, high-resolution images use extra
memory and storage space, even after they’ve been scaled.
If you are working with a high-resolution image, convert it to between 72 and 96 dots per inch
with your image-editing program before you import it into Director.
Director supports JPEG compression at runtime for internal cast members that are imported
through the Standard or Include Original Data for Editing import options. A JPEG file that’s
imported with either of these options contains both the original compressed bits and
decompressed bits. After it’s imported, the JPEG file decompresses in the authoring environment.
The cast member size displays the member’s size in RAM after it’s decompressed. The amount of
RAM required to display a JPEG file is larger than its size on disk, so you can expect that the
JPEG cast member size is larger in the Cast Properties window.
Director takes advantage of compressed JPEG data at runtime. The original compressed data bits
are saved in Macromedia Shockwave content or a projector (if the Shockwave compression option
is on). If you edit the member within Director in the Paint window, the compressed data is lost.
An alert appears before the data is overwritten.
If the Shockwave compression option is on, Director also compresses bitmaps into the JPEG
format. For more information about bitmap compression, see
“Compressing bitmaps”
on page 129
.
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...