Resize image

yep, got a picture now

I also found the code to scale an image
If p<> Nil then
Dim scale As Double
scale = Min( g.Width / me.P.Width, g.Height / me.P.Height )
g.DrawPicture( me.P, 0, 0, scale * me.P.Width, scale * me.P.Height, 0, 0, me.P.Width, me.P.Height )

End If

You will find there:
https://documentation.xojo.com/api/graphics/graphics.html#graphics-drawpicture

How to resize a Picture partially, keep L/R ratio (or not), and much much more (look at the syntax to know more).