#include #include #include "plugin.h" void perform_copy(_frame f1, _frame f2, _args a) { byte pixelsize = f1.pixelformat/8; short x, y, xoff, w, h, size=1; char *t; if(!a.s) return; xoff = atoi(a.s); if(t = strstr(a.s, " ")) size=atoi(t+1); w = f1.width=w) { size = w - xoff; if(!size) return; } if(xoff<0 || xoff>=w) return; for(y=0; y