cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : UNIX/Linux Programming : screenshot?
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

question  screenshot?

daviddoria
In windows I used GDI+ to capture a region of the screen. Is there something similar for linux? I want to do

ScreenCapture(Top, Left, Width, Height);

and save it to a file (png or something).

What's the easiest way to do this?

Thanks,

Dave
|
daviddoria
Surely someone knows how to do this??
|
Free Magic
Hello,
I haven't personally done this, but there is a program, gnome-screenshot, that captures images of the desktop or a window. Its source code can be found at:

http://svn.gnome.org/viewvc/gnome-utils/trunk/gnome-screenshot/

|

Registered users can reply in this forum.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us