Which module do I import to use Incbin?

BlitzMax Forums/BlitzMax Beginners Area/Which module do I import to use Incbin?

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.

I'm trying to load an image that has been incbinned. Here's some sample code:
Framework BRL.GLMax2D
Import BRL.PNGLoader

Graphics 1024, 768

Incbin "image.png"

Global MyImage:TImage = LoadImage( "incbin::image.png" )

Repeat
	Cls
	DrawImage MyImage, 0, 0
	Flip
Until KeyHit( KEY_ESCAPE )

The sample fails at 'DrawImage' with 'Unhandled Exception: Attempt to access field or method of Null object', indicating the prior 'LoadImage' didn't succeed.

It will work if I remove the 'incbin::' and just load the image from a file, so I've imported all the required modules to load and display a png image.

It will work with the 'incbin::' if I take out the framework command, suggesting that I'm not importing the module that makes 'incbin::' work.

Which module do I need to import to get 'incbin::' working? I've tried every one I can think of.