[Overview][Constants][Types][Classes][Index] |
Set the source and destination palettes for indexed color conversion.
Source position: copyd.inc line 44
public procedure TPTCCopy.Palette( |
ASource: IPTCPalette; |
ADestination: IPTCPalette |
); |
ASource |
|
The source palette. |
ADestination |
|
The destination palette. |
Set the source and destination palettes for indexed color conversion.
If neither pixel arrays are indexed color then pass blank palettes:
var blank_palette: IPTCPalette; ... { set blank copy palettes } blank_palette := TPTCPaletteFactory.CreateNew; copy.Palette(blank_palette, blank_palette);
TPTCError - a TPTCError exception is raised on failure.