PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Loading Images

Hi, I'm just getting started with PocketFrog and I have a question about loading images. Is there any way to load an image directly from a file, or must the image be loaded as a resource prior to compiling?
BurningSheep · 09 Jul 2002, 16:08 UTC
You can load from a file just as easy, function prototype:

Code:

// Load an image from a file
Surface* LoadImage( DisplayDevice* display, const TCHAR* filename );
Thanks!