Load from ram ?

BlitzMax Forums/BlitzMax Programming/Load from ram ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yes, all of the LoadImage / LoadPixmap / LoadFont etc. commands accept streams as the object parameter.

Use CreateBankStream to create a stream from the bank which can then be passed to LoadImage.

TBankStream objects are 'wrappers' around banks which allow you to use stream commands like ReadByte, WriteByte etc. to read and write data from streams.