Vcl.Imaging.GIFImg.TGIFOptimizeOption
Delphi
TGIFOptimizeOption = (
ooCrop, // Crop animated GIF frames
ooMerge, // Merge pixels of same color
ooCleanup, // Remove comments and application extensions
ooColorMap // Sort color map by usage and remove unused entries
);
C++
enum DECLSPEC_DENUM TGIFOptimizeOption : unsigned char { ooCrop, ooMerge, ooCleanup, ooColorMap };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | Vcl.Imaging.GIFImg |
Description
Specifies the optimization options used in the Optimize method.
A variable of type TGIFOptimizeOption specifies the optimization options used in the Optimize method.
The following table lists the possible values of a variable of type TGIFOptimizeOption.
| Value | Meaning |
|---|---|
|
ooCrop |
Crop the animated GIF frames. |
|
ooMerge |
Merge pixels of the same color. |
|
ooCleanup |
Remove comments and application extensions. |
|
ooColorMap |
Sort color map by usage and remove unused entries. |