How CropImage work at all?
I want take screenshot whole screen (or load images from file) and crop some part of it (square 100x100 pixels).
Image = PictureTools.TakeScreenShot(0,0,0,0)
GraphicsWindow.BackgroundColor = "black"
newimage = PictureTools.CropImage(image,0,0,100,100)
GraphicsWindow.DrawImage(newimage,0,0)
All I have it blank screen.
What I need enter in parametrs for crop left-upper corner? For crop square 100x100 pixels in random position of screen?
PS SmallBasic 1.0
PPS Sorry for bad english.