GifOptionsColorResolution Property |
Gets or sets the GIF color resolution.
Namespace:
Aspose.CAD.ImageOptions
Assembly:
Aspose.CAD (in Aspose.CAD.dll) Version: 20.8
Syntaxpublic byte ColorResolution { get; set; }
Public Property ColorResolution As Byte
Get
Set
public:
property unsigned char ColorResolution {
unsigned char get ();
void set (unsigned char value);
}
member ColorResolution : byte with get, set
Property Value
Type:
Byte
The color resolution.
Remarks
Color Resolution - Number of bits per primary color available
to the original image, minus 1. This value represents the size of
the entire palette from which the colors in the graphic were
selected, not the number of colors actually used in the graphic.
For example, if the value in this field is 3, then the palette of
the original image had 4 bits per primary color available to create
the image. This value should be set to indicate the richness of
the original palette, even if not every color from the whole
palette is available on the source machine.
See Also