@The Comet
I haven't really used the Bitmap to memblock commands yet, so I may have one or two of the parameters the wrong way round, but I think this might be useful for you:
MemNo =
BitmapNo =
BitmapHeadeSize =
BrightenAmount =
Make Memblock From Bitmap MemNo, BitmapNo
For T = BitmapHeaderSize to (Get Memblock Size(MemNo)-1)
Temp = Memblock Byte(MemNo, T)
If Temp<255
Temp = Temp + BrightenAmount
If Temp>255 then Temp = 255
If Temp<0 then Temp = 0
Write memblock byte MemNo, T, Temp
endif
Next T
Make Bitmap From Memblock MemNo, BitmapNo
There are four variables involved which you'll need to set, they're listed at the top of the code snippet.
MemNo and BitmapNo are the memblock to be created and the bitmap to be modified. Bitmap Header Size is the offset in bytes of the bitmap memblock (can't remember off the top of my head how big it is, but I think it's 8.) We then have BrightenAmount, which is any number between 0 and 255. A value of 0 will leave the image unchanged, a value of 255 will make the whole image go completely white.
I'm not sure how versatile this code snippet is, but it'll work with an RGB 24-bit bitmap.
Hope this helps!
[Edit] Just corrected a flaw in the code - I called "Read Memblock Byte" and it ought to have been "Memblock Byte".
"I wish I was a spaceman, the fastest guy alive. I'd fly you round the universe, in Fireball XL5..."