re: Getting the image of a window?
re: Getting the image of a window?
I have some sample code up at cs.northwestern.edu/~josha/ to take a
screen shot using Cocoa. I think the version that handles 32 and 16-bit
screen resolution's posted, but if it's not, email me and I'll update
what's available.
Be warned, sometimes, if another app's updating the screen when this
code runs, weird things happen. I've tried capturing the screen, but
that throws up a display mask and lets me capture a nice, big black
rectangle. Oh well.
hth,
Josh
---
email@hidden ||
http://cs.northwestern.edu/~josha
"BASIC is the Computer Science equivalent of `Scientific Creationism'."
--Fortune