QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: ncc17o1a on February 03, 2021, 01:31:58 pm

Title: Saving a screen image?
Post by: ncc17o1a on February 03, 2021, 01:31:58 pm
I have a jpg image successfully loaded into QB64 that I want to alter, then re-save under a different name.
Using the loadimage command to get it into QB64 works fine. Altering the image I can do fine, but I cannot fine any commands to resave the image. I'm no expert on programming, but generally know enough to get by for what I need, however I am baffled as to why there appears to be no way to save an image from within QB64. Any help would be appreciated. 
Title: Re: Saving a screen image?
Post by: SpriggsySpriggs on February 03, 2021, 01:34:34 pm
@SMcNeill Sounds like a job for your SaveImage routine!
Title: Re: Saving a screen image?
Post by: bplus on February 03, 2021, 01:50:46 pm
From Samples Gallery > Graphics > SaveImage
https://www.qb64.org/forum/index.php?topic=1651.0

I have some code for getting a section of the screen I could dig up but you could work out your own from above link.

BTW Welcome to the forum! :)