
Zitat von
Virchov:
Delphi-Quellcode:
implementation
procedure GetRGB(
prgb: pRGBTRIPLE; //Pointer to the pixel
R,G,B: pBYTE); //Output: R, G and B
begin
R^:=prgb.rgbtRed;
G^:=prgb.rgbtGreen;
B^:=prgb.rgbtBlue;
end;
Oder vielleicht So?

Danke. Könntest Du mir vielleicht den Unterschied zwischen Deinem und meinem Ansatz erläutern?