Advertisement

Screen Capture

Started by January 12, 2005 10:11 PM
1 comment, last by tadobie 19 years, 8 months ago
I'm a newbie to using Linux and I was wondering if anyone could tell me how to do a screen capture in C++ on Linux. I'm using KDevelop and I've been looking at things like ImageMagick and a little information about frame buffers. If anyone could instruct me on what library/libraries I should be including and what commands I need to use to grab a screen shot and throw it in a window it would be much appreciated. I also wonder if anyone might point me in the direction of somewhere i might learn about API's and libraries for graphics/image manipulation under the Linux platform. Thanks
Don't mug ya self!
You can check the sources of xsg which take a screenshot of the screen using Xlib.

The xgrab program that comes with XWindow does the job too you could call it with
system(); and open the output.

hope that helps !
Matt
Matt
Advertisement
thanks heaps Matt. I'm on my way now!
Don't mug ya self!

This topic is closed to new replies.

Advertisement