CopyImage(#originalimage,#newimage[,x,y,w,h])
copy and / or crop a image into a new image
Drawimagemasked(#image1,#maskimage1,x,y)
To draw a masked image
This would be very handy to make games, without DX

using only regular 2DDrawing commands
An additional parameter to convert the depth would be also finePsychophanta wrote:num3 wrote:...or tile (if x+w,y+h are out of bounds from #originalimage)CopyImage(#originalimage,#newimage[,x,y,w,h])
copy and / or crop a image into a new image
So,if it is, why doesn´t this work?What you say is already provided with CatchSprite(), GrabSprite().
Code: Select all
CatchImage(1,GetClipboardData(#pb_clipboard_image))
SaveImage(1,"test.bmp")