Command line, single instance of NeatImage
Command line, single instance of NeatImage
Hi,
The command line support is nice, but it would be more usable if it didn't start a new instance of NeatImage every time. Instead, it should just add the new file on the end of the queue.
-Jouni
The command line support is nice, but it would be more usable if it didn't start a new instance of NeatImage every time. Instead, it should just add the new file on the end of the queue.
-Jouni
Well, it does. If you do like this:
>NeatImage.exe image.jpg
Vlad
>NeatImage.exe image.jpg
Vlad
Last edited by NITeam on Wed Jul 30, 2003 11:29 am, edited 1 time in total.
I'm doing it from another app's (IMatch) script. Example command line could be:
"C:\Program files\Neat Image 2.2 Pro\NeatImage" "d:\pics\work\edit\crw_1464.tif" "d:\pics\edit\crw_1464_filtered.tif" "d:\pics\work\noise profiles\Canon G2 Linear ISO50.dnp"
So, I give everything from the command line except the filtration profile.
(I plan to add that too)
Jouni S.
"C:\Program files\Neat Image 2.2 Pro\NeatImage" "d:\pics\work\edit\crw_1464.tif" "d:\pics\edit\crw_1464_filtered.tif" "d:\pics\work\noise profiles\Canon G2 Linear ISO50.dnp"
So, I give everything from the command line except the filtration profile.
(I plan to add that too)
Jouni S.
I think you may run into a trouble with this.
NI does process ALL command line parameters when a single NI instance is used. However, when you start one instance of NI just to send an image to another instance of NI, then it is only the image what is being sent, not other possible command line parameters.
If you want to process a set of images each with specific DNP and NFP then I would advise to compose a batch file with individual commands like the one you have shown above. This batch file will consequetively invoke single instance of NI to process each image with specified profile and preset.
Vlad
NI does process ALL command line parameters when a single NI instance is used. However, when you start one instance of NI just to send an image to another instance of NI, then it is only the image what is being sent, not other possible command line parameters.
If you want to process a set of images each with specific DNP and NFP then I would advise to compose a batch file with individual commands like the one you have shown above. This batch file will consequetively invoke single instance of NI to process each image with specified profile and preset.
Vlad
Thanks,
I'll try that.
Sending all parameters would be a nice feature, because the queue window is very informative, telling how much time is left and so on. This batch file method quite effectively breaks it.
How about adding COM-interfaces to NeatImage?
One simple method AddFileToQueue, with the same parameters as command line.
(Photoshop for example works this way, it can be used from other apps)
Jouni S.
I'll try that.
Sending all parameters would be a nice feature, because the queue window is very informative, telling how much time is left and so on. This batch file method quite effectively breaks it.
How about adding COM-interfaces to NeatImage?
One simple method AddFileToQueue, with the same parameters as command line.
(Photoshop for example works this way, it can be used from other apps)
Jouni S.
Thanks for the suggestion. Of course it would be very good to implement a COM interface as well, but most likely it will not be used by the majority of users.. Photoshop is not a very good example: they support COM while standard old clipboard fuctions do not work (with large images).
Meanwhile, thanks to your input we have found one bug in NI. It is about adding the images to the working queue. We will correct this.
Also, we will look into the issue of handling many parameters. Nobody has asked about this until now but probably it will not be too difficult to add.
Best regards,
Vlad
Meanwhile, thanks to your input we have found one bug in NI. It is about adding the images to the working queue. We will correct this.
Also, we will look into the issue of handling many parameters. Nobody has asked about this until now but probably it will not be too difficult to add.
Best regards,
Vlad
Yes, the COM interface would be probably overkill, adding files to the queue can perfectly well be done with command line only.
Anyway, thanks for your help, I hope you get that command line parameter handling to work in upcoming versions. Otherwise, NeatImage has proved to be a real killer!
Jouni S.
Anyway, thanks for your help, I hope you get that command line parameter handling to work in upcoming versions. Otherwise, NeatImage has proved to be a real killer!
Jouni S.