Bank IMG Help!

BlitzMax Forums/BlitzMax Beginners Area/Bank IMG Help!

Caton(Posted April) [#1]
I only included image load code.
'mon.bin is a png file with 3 bytes at the beginning.
Local bank:TBank=LoadBank("data\mon.bin")
PeekByte(bank,3)
img=LoadAnimImage(bank,32,32,0,48)


why isn't it working?


Caton(Posted April) [#2]
Please???
Thanks. :)


skidracer(Posted April) [#3]
maybe try passing result of CreateBankStream(bank) to LoadAnimImage instead of the plain bank