QB64.org Forum
Active Forums => QB64 Discussion => Topic started 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.
-
@SMcNeill Sounds like a job for your SaveImage routine!
-
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! :)