Hi,
would you be so kind and explain to me what would be necessary to get raw access to the image captured? i would like to spit out the pixelcolors on the std output.
for example
g_DXGIManager.SetCaptureSource(CSMonitor1);
RECT rcDim;
rcDim.left = 1;
rcDim.top = 1;
rcDim.right = 361;
rcDim.bottom = 2;
hr = g_DXGIManager.GetOutputBits(pBuf, rcDim);
printf(pBuf)
i was able to get some output but could not recognice any pixel colors.
my endgoal would be a list of uniq colors in a known area on a known monitor and how much pixels there are of.
so a call of the exe would result in:
0xFF0000,2
0x00FF00,20
0x0000FF,30
0x000000,100
0xFFFFFF,200
Thanks in Advance,
JR
Hi,
would you be so kind and explain to me what would be necessary to get raw access to the image captured? i would like to spit out the pixelcolors on the std output.
for example
g_DXGIManager.SetCaptureSource(CSMonitor1);
RECT rcDim;
rcDim.left = 1;
rcDim.top = 1;
rcDim.right = 361;
rcDim.bottom = 2;
hr = g_DXGIManager.GetOutputBits(pBuf, rcDim);
printf(pBuf)
i was able to get some output but could not recognice any pixel colors.
my endgoal would be a list of uniq colors in a known area on a known monitor and how much pixels there are of.
so a call of the exe would result in:
0xFF0000,2
0x00FF00,20
0x0000FF,30
0x000000,100
0xFFFFFF,200
Thanks in Advance,
JR