12-06-2022, 09:34 PM
(12-06-2022, 09:27 PM)Pete Wrote: The invalid handle happens if you don't get a jpeg and put in in your local folder named as image1.jpg
In the code, picture$ = "image1.jpg"
temp = _LOADIMAGE(picture$, 32): _SOURCE temp
So if no image1.jpg in the folder, no handle.
I just renamed one of the jpegs already in my QB64PE folder, and it worked fine, as advertised.
Pete
Yes, I wrote it at the beginning. Just enter a picture in the source (picture$ = "....") and start it!