Picture to text converter
#5
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
Reply


Messages In This Thread
Picture to text converter - by MasterGy - 12-06-2022, 07:21 PM
RE: Picture to text converter - by Pete - 12-06-2022, 08:04 PM
RE: Picture to text converter - by bplus - 12-06-2022, 09:03 PM
RE: Picture to text converter - by MasterGy - 12-06-2022, 09:09 PM
RE: Picture to text converter - by Pete - 12-06-2022, 09:27 PM
RE: Picture to text converter - by MasterGy - 12-06-2022, 09:34 PM
RE: Picture to text converter - by mnrvovrfc - 12-06-2022, 10:03 PM
RE: Picture to text converter - by Pete - 12-06-2022, 10:14 PM
RE: Picture to text converter - by mnrvovrfc - 12-06-2022, 10:34 PM
RE: Picture to text converter - by bplus - 12-06-2022, 10:58 PM
RE: Picture to text converter - by Pete - 12-07-2022, 04:24 AM
RE: Picture to text converter - by ChiaPet - 12-07-2022, 07:41 PM
RE: Picture to text converter - by bplus - 12-07-2022, 08:14 PM
RE: Picture to text converter - by Pete - 12-07-2022, 08:18 PM
RE: Picture to text converter - by MasterGy - 12-07-2022, 10:01 PM
RE: Picture to text converter - by MasterGy - 12-07-2022, 11:13 PM



Users browsing this thread: 6 Guest(s)