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
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