![]() ![]() ![]() It would be the same trying to use KBM to script all the menu option choices for PhotoShop. While PS can be run with JavaScript, the GUI has to be open and be the frontmost app. This makes it very useful for image changes that you want to happen silently, in the background. It also supports a form of scripting that can manipulate images transparently, without ever having to open up a GUI app. GIMP is a powerful tool and can do many of the "magic brush" kinds of things that PhotoShop can do. I have not explored anything close to all the possibilities, but I hope this gets you off to a basic working start. This post describes how I got there, with lots of notes about how to use GIMP's scripting tools. I described that solution in Inverting Image Colors Before OCR. While ImageMagic and BIMP look promising, and may be better tools for more complex problems, I found sample code for the GIMP batch mode that required only a little modification to do what I needed to do. (GIMP is the Gnu Image Manipulation Program, deliberately created to be a free alternative to PhotoShop.) I found three possible solutions all using free software: ![]() Was there a system out there that supported scripting? The Problem, and the State of the Art But almost all image manipulation programs, including the archetypal PhotoShop, seem to require interaction with the graphical user interface to be able to do anything at all. I had a problem with a KBM macro where the solution required being able to run a software filter on an image initiated by a command line or script, not a GUI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |