> var img = load("sample.jpg"); // create a new image object from a file
blit(
{ img : imgsrc, x : 10, y : 10 },
{ img : imgdst, x : 20, y : 20 },
200,
200
);
copy the rectangle (10,10,210,210) in imgsrc to (20,20,220,220) in imgdst.
Also, for colors it would be nice to allow "int" color :
plot(img,20,i,0xFFFFFF,100);
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)
