Specifies the size and color range of images written to AVI files.
*SetAVIFormat()Specifies the size and color range of images written to AVI files. |
|||||
*SetAVIFormat()Specifies the size and color range of images written to AVI files. |
Syntax |
*SetAVIFormat(RGB24/RGB8/GREY, 10/25/100) |
|
Arguments |
Palette |
RGB24 (24-bit color) RGB8 (8-bit color) GREY (8-bit greyscale) |
Size |
10 (10% of normal) 25 (25% of normal) 100 (100% of normal; |
|
Example |
*BeginDefaults() .... *SetAVIFormat(RGB8, 25) // 8-bit color and 25% of normal .... *EndDefaults() |
|
Application |
HyperView. |
|
Context |
||
Comments |
You can control the quality of images saved to an AVI animation file by changing the number of colors used and by changing the graphic size. You can select 24-bit color, 8-bit color, or 8-bit greyscale, and an image size of 10%, 25%, or 100%. Using 8-bit color or greyscale decreases the file size by two thirds with some loss of detail. The file size for greyscale and 8-bit color is the same but greyscale provides more smoothly shaded images than 8-bit color. Reducing the size of the image results in a reduction in file size with some loss of detail. |
|
See also |
|
|