Performing a script based on a selection
Posted: 2011-04-17T05:18:18-07:00
Hi,
I would like to manipulate an image like this:
that is I would like to make a selection on a larger photograph, scale it down and insert the original version of some section of the image as a detail enlargement. I am working under Windows and would like to use some standard program to pass the parameters of the selection to a script that adresses convert and performs the manipulation based on the selection I chose.
Any ideas for a suitable approach? I tried IrfanView, but it offers no way to pass parameters to one of the "external editors". IMDisplay also doesn't offer something in this regard. I checked whether I could read the parameters from IrfanView's title bar via a Windows API call. This is possible, but cannot be done via VBScript. This would require VisualBasic or some other real programming language.
I could do it via GIMP, I guess, but this would require me to write something in Script-Fu and learn a scripting language intirely new to me. Moreover, the people intended to work with that script are more familiar with IrfanView and alike.
Does anyone have an idea for a suitable appraoch?
Wolfgang Hugemann
I would like to manipulate an image like this:
that is I would like to make a selection on a larger photograph, scale it down and insert the original version of some section of the image as a detail enlargement. I am working under Windows and would like to use some standard program to pass the parameters of the selection to a script that adresses convert and performs the manipulation based on the selection I chose.
Any ideas for a suitable approach? I tried IrfanView, but it offers no way to pass parameters to one of the "external editors". IMDisplay also doesn't offer something in this regard. I checked whether I could read the parameters from IrfanView's title bar via a Windows API call. This is possible, but cannot be done via VBScript. This would require VisualBasic or some other real programming language.
I could do it via GIMP, I guess, but this would require me to write something in Script-Fu and learn a scripting language intirely new to me. Moreover, the people intended to work with that script are more familiar with IrfanView and alike.
Does anyone have an idea for a suitable appraoch?
Wolfgang Hugemann