BufferFromImage ( slot, ByRef buffer )

Fills an array with the pixel data from an image

Example:
    Dim buf[64*64]
BufferFromImage ( 0, buf )