PocketMatrix forums

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

Image loading in PHAL

Hello,

How can I load an image (GIF, JPG, ...) into the PHAL Surface? Is there some system function or special library? Does anybody have an example?

Thanks,

Tomas
Pejo Software - Per · 27 May 2004, 09:27 UTC
First I assume that you are talking about the Win CE version.
Personally I only use use png. You can use libpng for this.
If you want to load other formats there are code for this also if you search the web.
You can also use IMGDECMP that can load several types of images. I beleive PocketFrog uses this so you can check that out.