lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi !
i write an GrafikApp with LuaSupport, i get
Pixels from mainsceen and have then
an 8byte Quadword double in LUA , that cost any
performance can i have BYTE for rgb 
or give it alternate a way to extract Red green blue doubles from
packed COLORREF(R,G,B) ?
i have 2 ways update Lua by patch and go to incompatible
or extract r,g,b from quadword  , or i must implement
GetRPixel  GetGPixel GetBPixel    and for fast pixeltransfer
GetPixel  and that all for PutPixel again ?
need an suggestion here :-)
thx for read me sorry for easy english