Re: Fast way to grab the screen
Re: Fast way to grab the screen
- Subject: Re: Fast way to grab the screen
- From: eveningnick eveningnick <email@hidden>
- Date: Thu, 24 Feb 2011 12:06:03 +0200
Thank you for the answer
So i guess OpenGL is a way to go.
And with it, i have two problems:
1) how to select only a particular window to grab? Since im getting a
framebuffer contents, i am having the whole screen picture. I need to cut
out only a particular region of it - that contains a particular window only.
For that, i need to know the location of this "particular window" and its
size.
I am wondering, if WindowServer exposes any API for getting this information
for other windows? Or, otherwise, maybe, i could combine somehow CGWindow
API and OpenGL (the first for finding "edges" of the window, and the latter
for taking the whole screen and trimming in to these edges)?
2) how to grab a mouse pointer too? Like Skype, or ManyCam do, for example?
They allow to save an image (or video) together with the cursor. How did
they do that?
Could you point me out?
Thank you!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden