I have been looking for an example that uses the LoadBuffer command and the CreateImage command. My understanding is that you can use CreateImage to create an off-screen area for modifying images, and that you can use LoadBuffer to fill this off-screen area. My idea is to use CreateImage to create a drawing buffer, load an image into this buffer using LoadBuffer and then do some other drawing onto this before showing on the front buffer. All my attempts to use LoadBuffer result in Blitzplus crashing (on my Vista laptop)! If you comment out the LoadImage line and enable the LoadBuffer line it will crash!
My attempted source code is
Can above code be made to work with LoadBuffer instead of the LoadImage?
Thanks.
My attempted source code is
Graphics 800, 600 imgTile = CreateImage(60,60) SetBuffer ImageBuffer(imgTile) imgTile = LoadImage("Tile_RGPB.bmp") ;LoadBuffer(imgTile, "Tile_RGPB.bmp") SetBuffer FrontBuffer() Cls DrawImage(imgTile, 300,300) Flip WaitKey
Can above code be made to work with LoadBuffer instead of the LoadImage?
Thanks.