hi,
I have to take a snapshot of the desktop, same way as system(screencapture...) do it, but I need to take a screenshot and put the bitmap in the buffer.
I try to use CGBitmapContextCreateImage and check the result in a BMP file ( with a test funtion I did to make a BMP file) but I got a black image...
I saw some code with OpenGL but i cant use it, anyone have an idea or something ?
I need to do this in order to make a remote control application.
thanks
I have to take a snapshot of the desktop, same way as system(screencapture...) do it, but I need to take a screenshot and put the bitmap in the buffer.
I try to use CGBitmapContextCreateImage and check the result in a BMP file ( with a test funtion I did to make a BMP file) but I got a black image...
I saw some code with OpenGL but i cant use it, anyone have an idea or something ?
I need to do this in order to make a remote control application.
thanks