GIFImg.TUsageCount
From RAD Studio VCL Reference
Delphi Information
From GIFImg.pas
TUsageCount = record Count: Integer; Index: Integer; end;
Unit: GIFImg
Type: struct
Description
A variable of type TUsageCount contains histogram information about a GIF.
A variable of type TUsageCount contains information about the number of usages of a color in a GIF.
The BuildHistogram method generates the color histogram of a GIF. The histogram is stored as a TColormapHistogram array with elements of type TUsageCount.
The following table lists the fields contained in a variable of type TUsageCount.
| Field | Meaning |
|---|---|
|
Count |
The number of times the color is used in the GIF. |
|
Index |
The index of the color in the color map. |