st
<br />
LockBuffer
<br />

<br />
; Use CopyPixelFast to copy the bottom half of the image to the frontbuffer
<br />
For y=0 To (ImageHeight(pic)/2)+ImageHeight(pic)
<br />
For x=0 To ImageWidth(pic)
<br />
CopyPixelFast x,y,ImageBuffer(pic),x,y
<br />
Next
<br />
Next
<br />

<br />
; Unlock buffer after using CopyPixelFast
<br />
UnlockBuffer
<br />

<br />
WaitKey()
</td>
</tr>
</table>
<br>
<a target=_top href=../index.htm>Index</a><br>
<br>
Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.ph