1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// this is just an example of using the pixels-class.. #include "plugin.h" #include "pixels.h" void perform_effect(_frame f, _args a) { pixels p(f); while(!p.eof()) { p.putrgb(0, p.green(), 0); p.next(); } } INFO("go green")