: I have created image on window by using Grlines nano -X API . I wanted to 
save image from window to  particular file .

Your routine leaves much to be desired.  There's already
a routine in nano-X that allows saving the screen into
a .bmp format file, see engine/devopen.c::GdCaptureScreen().

In addition, this function is called to create screen.bmp whenever
the PRINT screen key is pressed, provided you're running the
TTYSCAN driver in your config file (required to identify
the print screen key from its scan code)

Regards,

Greg



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to