01-13-2023, 03:43 PM
(01-13-2023, 02:07 PM)mnrvovrfc Wrote: If I were you, I'd assign a LONG variable to _LOADIMAGE result. To load an image only to get its width, it's actually not being "used" according to the Wiki description.
From:
https://qb64phoenix.com/qb64wiki/index.php/LOADIMAGE
Quote:It is important to free unused or discarded images with _FREEIMAGE to prevent CPU memory overflow errors.
Yep, I understand all of that. That's why I'm asking if something like the example is advisable or not.