you know what'd be a cool feature for an image editor?
"export last action as code"
where it looks at the last thing in the undo/redo buffer, and saves it out as a program (in C/C++/whateverscripting) that uses an ImageEditorLibrary to do the same thing
@foone For some reason, I thought the GNU image manipulator could already do this. Maybe it was just the UI focus on playing scripts last time I used it. (I use #Krita for what little image editing I do for a while now.)
Like, I've literally done this manually before, by going through the source code for both gimp and krita to figure out how they did specific things that I tried.
@foone while calling it an image editor is quite a stretch, MATLAB totally does this. Be careful what you wish for though, the code it autogenerates is... not what a human would write, to put it mildly.