Thanks, that’s what I was looking for!
Paul Nicholls schrieb:
> Hi Philipp, you could try this:
>
> r := (value shr 10) and 31;
> g := (value shr 5) and 31;
> b := value and 31;
>
> where value is the word from ScanLine for the pixel colour
>
> –> Paul Nicholls,
> Live long and optimise.
> ——————————–
> Web Page : www.southcom.com.au/~phantom
> E-Mail : phantom@southcom.com.au
[tags]Delphi, Graphic[/tags]
0 Kommentare zu “Bitmaps: How to get RGB values very fast”