ImageBuffer_Ex ( slot, w, h, ByRef pData, col_key )

Creates an image from pixel data and sets its color key.

Example:
    Dim p [ 50, 50 ]
    ImageFromBuffer_Ex ( 0, 50, 50, p, RGB ( 255, 255, 255 ) )