Hi Ahmed sahab,
Yaar dont listen to these orthodox morons Even most of the main-stream KDE developers have left to join the great GNOME army . Be a 21st century X-programmer: Be a Gtk+/GNOME programmer. BTW, i hope no-one minds my jokes.
X Window Programming Related Material !
Dont listen to these Qt/KDE guys
"I think therefore I am" --- Rene Descartes
screen capture
install netpbm, and use the x11 tools for the screendump.
xwd -root | xwdtopnm | ppmtopng > root.png
or
xwd | xwdtopnm | ppmtopng > root.png (it'll wait for you to click on a window)
netpbm's great for converting between formats -- jpegs, gifs, bmp, raw rgb, png, tiff, etc. you can also do stuff like scale images, create web icons (as in favicon.ico) -- all from within scripts. it also installs a library and header files so you can link against it and do the manipulation from your application.
xwd -root | xwdtopnm | ppmtopng > root.png
or
xwd | xwdtopnm | ppmtopng > root.png (it'll wait for you to click on a window)
netpbm's great for converting between formats -- jpegs, gifs, bmp, raw rgb, png, tiff, etc. you can also do stuff like scale images, create web icons (as in favicon.ico) -- all from within scripts. it also installs a library and header files so you can link against it and do the manipulation from your application.
-
- Naik
- Posts: 61
- Joined: Sat Jun 01, 2002 2:58 pm
- Location: Islamabad
- Contact: