So I'm actually working on a plugin for an artist friend, which I imagine I'll eventually do in C, but for now I'm using the Python-fu method in an effort to sort out if what we have in mind is possible or not. For this plugin to work I'm going to need to have some sort of callback every time pixel info is updated so I can update the image in real-time based on the user's paint strokes. So far I've been stumped, as most plugins on the web seem to be for filters or other such one-time processes, and this is something more interactive.
Does anyone have any idea where I might get some info on how to do this? The plugin itself will be a piece of cake, the only limiting factor is whether or not I can get a hook into the pixel updates.
Thanks in advance.