What am I doing wrong with _FreeImage?
#4
(02-24-2023, 01:13 AM)bplus Wrote:
Code: (Select All)
_FreeImage (a) '                         free all of the images from memory


Why is the "a" inside ()'s ?

_FreeImage is a Sub / Statement not a Function

If it's not that, DIM a as Long.

Oh! Should be:
_FreeImage tiles(a)  ' <<< missing tiles

The "(a)" is the loop variable. It loads the same image into each of the tiles() positions - there's only one image, called test.jpg ( which I attached - I hope!) Edit: I mis-named the image, by including its path. it should just be "test.jpg".
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) Big Grin
Reply


Messages In This Thread
RE: What am I doing wrong with _FreeImage? - by PhilOfPerth - 02-24-2023, 06:00 AM



Users browsing this thread: 1 Guest(s)