Maybe you can use the FreeImage.dll ? I've never used it, but here is a topic with .decls for it.
http://www.blitzbasic.com/Community/posts.php?topic=48558
There is a command that is called FIFromBank, which sounds promising..
http://www.blitzbasic.com/Community/posts.php?topic=48558
There is a command that is called FIFromBank, which sounds promising..