can everyone help me ?
Screenshot in BlitzMax ???
BlitzMax Forums/BlitzMax Programming/Screenshot in BlitzMax ??? I'm not sure even Clippy the irritating paperclip could make a guess at this. However...
GrabPixmap()
SavePixmapJPEG()
SavePixmapPNG()
If that doesn't help or isn't what you're after, you could try posting more words.
GrabPixmap()
SavePixmapJPEG()
SavePixmapPNG()
If that doesn't help or isn't what you're after, you could try posting more words.
you can probably modify this to make it work. You'll need to take out the date and time functions:
' ----------------------------------------------------------------------------- ' ccScreenShot ' ----------------------------------------------------------------------------- Function ccScreenShot() ' ccFlip() 'don't need to flip to see the current one first! Local gfxGrab:TPixmap gfxGrab = GrabPixmap(0,0,ScreenWidth, ScreenHeight) Local DateTime:TDateTime = New TDateTime DateTime.Set_DateTimeCurrent() 'Output filename with reverse date and time for sorting Local filename$ = TDateTime.Get_String(DateTime,"YYYY-MM-DD HHNNSS screenshot.png") SavePixmapPNG(gfxGrab, ccAddSlash(CurrentDir())+filename, 9) End Function