XPost: comp.unix.programmer
On Fri, 27 Oct 2023 11:59:15 +0200
Marco Moock <
mm+usenet-es@dorfdsl.de> wrote:
Am 27.10.2023 um 09:18:08 Uhr schrieb Muttley@dastardlyhq.com:
I'm hoping to write some code to save the contents of a window
clicked on by the mouse to a file and my plan was to get its image,
save the pixels then reload them into an image created by
XCreateImage.
Why don't use xwd to save the image of a window?
Because I'm saving more than just the image of a window and I don't like
using system() or popen() to fork a utility that may or may not be available.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)