What do you mean by "does nothing"?
Doesn't save a file at all?
Saves a blank 640x480 image?
Something else?
Also, why are you using CreateImage/GrabImage then converting that to a pixmap when GrabPixmap will do the same thing in one function?
Doesn't save a file at all?
Saves a blank 640x480 image?
Something else?
Also, why are you using CreateImage/GrabImage then converting that to a pixmap when GrabPixmap will do the same thing in one function?