Post AhhIkyE4HEJLDaePMe by BoydStephenSmithJr@hachyderm.io
 (DIR) More posts by BoydStephenSmithJr@hachyderm.io
 (DIR) Post #Ahh81k4R3o8uk8wLFQ by foone@digipres.club
       2024-05-08T21:59:56Z
       
       0 likes, 0 repeats
       
       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
       
 (DIR) Post #Ahh8Gh34ZurNiMQqK8 by foone@digipres.club
       2024-05-08T22:01:16Z
       
       0 likes, 0 repeats
       
       so like you go in and adjust the curves and then hit export and it gives you like:import editorlibimg = editorlib.load('foo.png')img.adjustCurves(input=58,output=138,curve_type=editorlib.curves.SMOOTH)img.save('out.png')
       
 (DIR) Post #Ahh8iujlHJESHEr8BU by phil@wrestling.social
       2024-05-08T22:11:28Z
       
       0 likes, 0 repeats
       
       @foone so.. just do this. In Blender or whatever.
       
 (DIR) Post #AhhF4Nsmi6X2TbhIci by simon_bitdiddle@mastodon.sandwich.net
       2024-05-08T23:23:00Z
       
       0 likes, 0 repeats
       
       @foone Ostensibly that's what Postscript should be.
       
 (DIR) Post #AhhFMmtcRwA5GbrZpo by mhoye@mastodon.social
       2024-05-08T23:26:28Z
       
       0 likes, 0 repeats
       
       @foone "turn this thing I just did into one line of imagemagick I can run in the shell" would be a beautiful thing.
       
 (DIR) Post #AhhFX4v6IAR23xSlii by dannotdaniel@mastodon.social
       2024-05-08T23:28:22Z
       
       0 likes, 0 repeats
       
       @foone @blender 👀👀👀
       
 (DIR) Post #AhhIkyE4HEJLDaePMe by BoydStephenSmithJr@hachyderm.io
       2024-05-09T00:04:39Z
       
       0 likes, 0 repeats
       
       @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.)
       
 (DIR) Post #AhhJSKNvlXMYOZwEvQ by b4ux1t3@hachyderm.io
       2024-05-09T00:12:16Z
       
       0 likes, 0 repeats
       
       @foone yes. Just.... Yes.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.It takes _hours_, because of course it does!
       
 (DIR) Post #AhhRQfMZb8NOVo1QSO by jkerhin@fosstodon.org
       2024-05-09T01:41:46Z
       
       0 likes, 0 repeats
       
       @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.