[Gambas-user] how copy the screen to memory on a sdl project

Julio Sanchez jusabejusabe at ...626...
Fri Jul 18 14:14:43 CEST 2014


Jack:

> with a Gambas command ?
gb.desktop component with:

Dim p As Picture
p =Desktop.Screenshot(x1, y1, x2 , y2 )
p.save ("filename.png")


' link: http://gambasdoc.org/help/comp/gb.desktop/desktop/screensaver?en&v3

But not if you're going to run gb.sdl

Regards

Julio


2014-07-18 13:38 GMT+02:00 Jack <jscops at ...11...>:

> Le 18/07/2014 11:11, Julio Sanchez a écrit :
> >
> > You can use the terminal command "scrot"
> >
> > http://www.tecmint.com/take-screenshots-in-linux-using-scrot/
> >
>
> Thank you Julio,
>
> but i would prefer another solution with only Gambas. No another way
> with a Gambas command ?
>
> --
> Cordialement
>
> Jacky Tripoteau
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list