There's no image resize command atm. You can use TextureQuad though, this is pretty much how a resize image command would work anyway.
This example bellow pretty much does what your asking for, although i've just noticed the transparent parameters are not available with TextureTri/TextureQuad. Will have to hook those up later.
[pbcode]
Setfps 10
Cls Rgb(30,40,50)
For Lp=0 to 100
circlec rnd(100),rnd(100),rnd(10),1,rndrgb()
Next
GetImage 1,0,0,64,64
Preparefximage 1
Do
Cls 0
DrawImage 1,100,100,0
For lp =0 to 10
Xpos=rnd(GetScreenWidth())
Ypos=rnd(GetScreenHeight())
ScaleX#=rndrange(50,1000)/100.0
ScaleY#=rndrange(50,1000)/100.0
DrawScaledImage(1,Xpos,Ypos,ScaleX#,scaley#)
next
Sync
loop
Function DrawScaledImage(ImageIndex,xpos,ypos,ScaleX#,ScaleY#)
if GetImageStatus(imageindex)
W=GetImageWidth(imageindex)
H=GetImageHeight(imageindex)
nw=w*scalex#
nh=h*scaley#
x1=xpos
y1=ypos
u1=0 * $10000
v1=0 * $10000
x2=xpos+nw
y2=ypos
u2=(w-1)*$10000
v2=0 * $10000
x3=xpos+nw
y3=ypos+nh
u3=(w-1)*$10000
v3=(h-1)*$10000
x4=xpos
y4=ypos+nh
u4=0 * $10000
v4=(h-1)* $10000
TextureQuad imageindex,x1,y1,u1,v1,x2,y2,u2,v2,x3,y3,u3,v3,x4,y4,u4,v4
endif
EndFunction
[/pbcode]
Quote(in which case would it be possible to add that search function to the help system soon please?
on it's way.
See: PlayBASIC Documentation Scale Image (http://playbasic.com/help.php?page=IMAGES.SCALEIMAGE)
The next version will have an alphabetically sorted command index. A full text search option will come later.
QuoteI hope empty throws in a few popups then
Yep, negotiating with some companies re. ad space. :)