Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.6.0 Released!
#9
(02-20-2023, 06:07 AM)DSMan195276 Wrote:
(02-20-2023, 05:47 AM)TerryRitchie Wrote: When you get some time please code a quick example on how to use the new _LOADIMAGE argument. Very curious. Thank you for keeping the changes/fixes coming.

Sorry! I should have linked to the Wiki, it includes more information and has an example at the end: https://qb64phoenix.com/qb64wiki/index.php/LOADIMAGE

In my view this feature is very useful when paired with the HTTP support from v3.5.0, you can download an image file into a String and then pass that String directly to `_LOADIMAGE()` to open it. That lets you avoid having to write the image to a file first.

Ah, ok, I see. One could embed an entire sprite sheet within the code using this technique and then parse the individual sprites without ever having to access a drive.
There are two ways to write error-free programs; only the third one works.
QB64 Tutorial
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.6.0 Released! - by TerryRitchie - 02-20-2023, 05:07 PM



Users browsing this thread: 1 Guest(s)