Results 1 to 5 of 5
i want to make a screen capture program for linux as my software engineering project
but i am not getting from where to start.........i have a bit knowlege of gtk ...
- 02-14-2011 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 13
screen capture program using c/c++
i want to make a screen capture program for linux as my software engineering project
but i am not getting from where to start.........i have a bit knowlege of gtk and that of c/c++ but from where can i get other references which i should know for building it.......................
plzz help ............
- 03-01-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Here is a link to a GTK tutorial to help you get started: http://www.di.ubi.pt/~jpaulo/ensino/IHC/gtktut.pdf
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 03-02-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Basically, you need to capture the frame buffer and convert it into an image format (jpeg, gif, bmp, tiff, svg, png, et al). You may need to drop into lower-level X calls to do that. Sorry, but I haven't done this sort of thing for almost 20 years so my memory is fuzzy on the exact technique, especially in light of todays' higher level graphical API's. Since the KDE snapshot tool is open sourced, you could review the code for that and find out how they do it. It works very well. You can get it as part of the kdegraphics package. However, since KDE uses Qt instead of GTK, you may have to learn something about that API.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 03-03-2011 #4Just Joined!
- Join Date
- Feb 2011
- Location
- Ranchi , India
- Posts
- 2
- 03-03-2011 #5forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
Hello, sachinmcajnu
Duplicate threads are not allowed because they become overly confusing to those trying to help you, so I've merged the three threads you started regarding this subject into a single thread. Please continue any discussion about this topic here only.
Thank you.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.


Reply With Quote
