Vcl.Imaging.pngimage.TPngImage.GetPalette
Delphi
function GetPalette: HPALETTE; {$IFDEF UseDelphi}override;{$ENDIF}
C++
virtual HPALETTE __fastcall GetPalette();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Reads the color palette of the png image.
GetPalette gets the color palette of the png image. You can also use the Palette property to get the color palette of the png image.