Using Director > Vector Shapes and Bitmaps > Changing size, color depth, and color palette for bitmaps |
![]() ![]() ![]() |
Changing size, color depth, and color palette for bitmaps
You can use Transform Bitmap to change the size, color depth, and palette of selected cast members. Any change you make to a cast member's color depth or palette affects the cast member itselfnot just its appearance on the Stage. You can't undo changes to the color depth and palette. If you want to keep a cast member's original bitmap unchanged but temporarily apply a different palette, use the Member tab in the cast member's Property Inspector. To change the size of only the sprite on the Stage, use the Sprite tab in the sprite's Property Inspector.
You can also remap images to new palettes with an image editing program such as Fireworks.
The Transform Bitmap dialog box displays values for the current selection. If more than one cast member is selected, a blank value indicates that cast members in the selection have different values. To maintain a cast member's original value, leave that value blank in the dialog box.
To use Transform Bitmap:
1 |
Select the bitmap cast members to change. |
2 |
Choose Modify > Transform Bitmap. |
3 |
To change the size of the bitmap, do one of the following: |
If multiple cast members are selected, you can resize all the cast members to the dimensions you enter. |
|
![]() |
Enter new measurements (in pixels) in the Width and Height fields. |
![]() |
Enter a scaling percentage in the Scale box. |
Select Maintain Proportions to keep the width and height of the selected cast member in proportion. If you change the width, the proportional height is automatically entered in the Height field. If you use Transform Bitmap to change several cast members at once, be sure to deselect Maintain Proportions. If you don't, all cast members will be resized to the values in the Width and Height boxes. |
|
4 |
To change the color depth, choose an option from the Color Depth pop-up menu. |
For more information about the color depth of bitmap cast members, see Controlling color. |
|
5 |
To change the palette, choose a palette from the Palette pop-up menu and choose one of the following remapping options: |
![]() |
Remapping replaces the original colors in the graphic with the most similar solid colors in the new palette. This is the preferred option in most cases. |
![]() |
Dithering blends the colors in the new palette to approximate the original colors in the graphic.
|
256 grays
|
|
Remapped to closest colors in black and white
|
|
Dithered in black and white |
|
6 |
Click Transform to execute the changes. |
The settings you choose in Transform Bitmap cannot be undone. |
|
![]() |
![]() ![]() ![]() |