baxslash beat me to it when I was writing an example but I figure I'll post the example anyway.
Something like this:
// set window properties
SetWindowTitle( "Misc Testing" )
SetWindowSize( 1280, 720, 0 )
// set display properties
SetVirtualResolution( 1280, 720 )
SetSyncRate( 60, 0 )
SetPrintSize( 16 )
// load image
img = LoadImage( "image.png" )
// make it so the image repeats when using spriteUVscale
SetImageWrapU( img, 1 )
SetImageWrapV( img, 1 )
// create sprite
spr = CreateSprite( img )
// set sprite size and UV scale
SetSpriteSize( spr, 128, 128 )
SetSpriteUVScale( spr, 0.5, 0.5 )
// main loop
do
// update screen
Sync()
loop