ImageFromBuffer ( slot, w, h, ByRef pData )

Creates a image from the pixel data in pData.

Example:
    Dim p[50, 50]
    ImageFromBuffer ( 0, 5050, p )