Author Topic: Screen capture ot a file?  (Read 2777 times)

0 Members and 1 Guest are viewing this topic.

Offline lawsonm1

  • Newbie
  • Posts: 64
    • View Profile
Screen capture ot a file?
« on: February 14, 2020, 10:19:15 pm »
So I got a X-Y plotting program (LINEGRPH) from The Programmer's Corner website (https://www.pcorner.com/list/BASIC), written by ER Sebol (1989), and modified it to display the data I am pulling from a web site. Once the data gets graphed, I'd like to have a snapshot of the graph be able to be saved as some type of image file (jpg, bmp, gif, etc), by just pressing a key (say the number 3). I see the _SCREENIMAGE command, but I'm trying to figure out how to take the imageHandle& and save it to disk.

I'm sure there is a bit of manipulation to be done. And I'm sure the commands are right under my nose. But, anyone have any thoughts or suggestions? Thanks, Mike

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

FellippeHeitor

  • Guest
Re: Screen capture ot a file?
« Reply #2 on: February 14, 2020, 10:43:41 pm »