Batch Commands

Post Reply
tstoddard
Posts: 578
Joined: 07 Sep 12 12:51

Batch Commands

Post by tstoddard » 28 Sep 12 3:45

I'm having trouble understanding what some of the batch commands are intended to do. Specifically, the Recipe, Recipe File, Recipe Flattening, and Save Image commands. What is the difference between the Recipe and Recipe File commands? When would I need to use the Save Image command? If I specify an output folder and run the batch without specifying the save image command, a new image is created. If I apply a recipe to a file and the run the batch using the save image command without specifying an output folder then nothing happens. I would expect the original to get overwritten.

Can anyone explain these commands to me?
Tom Stoddard

wphx
Posts: 45
Joined: 19 Nov 08 10:14

Re: Batch Commands

Post by wphx » 05 Oct 12 3:42

I've been having trouble with batch saving.

I have a save image command (sequence: recipe flattening/resize/save image). In the save image I specify my target folder and i don't import the new photos into the catalogue. I thought the photos were disappearing but they were actually being saved into the source folder of the original photos as .JPG (001).JPG (002).JPG etc. How do I save an image to a separate, absolute (not relative) path?

tstoddard
Posts: 578
Joined: 07 Sep 12 12:51

Re: Batch Commands

Post by tstoddard » 05 Oct 12 4:26

In the save image I specify my target folder
When you say, "In the save image" what exactly do you mean? When I select the save image command I'm given the opportunity to specify a file name but not a target folder. Are you setting the target folder in the dropdown at the top, under the icon of the hard drive? When I do that, I get a copy of the image(s) in that folder. However, I don't need to use the save image command at all. In fact, if you select an image, specify a folder in the dropdown at the top, and then run batch with no commands added to the batch at all, you should get a copy of the selected image in the folder that is specified in the dropdown. If you don't specify a folder it will put the copy in the same folder as the original.

I just tested this and got a very strange result. The copy of the file that was created in the same folder as the original had no name. It just showed up in my folder as JPG. Now I'm more confused than before. If I select two images and do the same thing I end up with two new files. One with no name just JPG and the other named (001).JPG.

I was really hoping somebody could answer my original question because the way that these commands work (or don't work) makes no sense to me. There must be some reason that they are there and a proper way to use them.
Tom Stoddard

wphx
Posts: 45
Joined: 19 Nov 08 10:14

Re: Batch Commands

Post by wphx » 05 Oct 12 6:53

OK - you're right. I was including the path in the filename to save the image to. I removed the 'save image' batch command, specified a folder in the output folder at the top, and the file was correctly processed and saved into that folder with its original name. Either there is some behaviour that the 'save image' command is doing that I don't understand, or its not returning the filenames properly, and the JPG etc. result is a default or error name. I think a lot of it is transitioning to the new software. Overall, some quirks aside, I am enjoying PSU very much.

Hert
Posts: 6685
Joined: 13 Sep 03 7:24

Re: Batch Commands

Post by Hert » 05 Oct 12 8:28

wphx wrote:OK - you're right. I was including the path in the filename to save the image to. I removed the 'save image' batch command, specified a folder in the output folder at the top, and the file was correctly processed and saved into that folder with its original name.
I'm still considering if the Save Image should be removed as a batch command or not. As it is, the Save Image command allows you to specify an output file name, but, as you already figured out, the file is saved in the output folder. Another thing to be aware of is that if the Save Image is the last command in the batch then the "normal" save is not triggered anymore. For now, best to not use the Save Image batch command.
I am enjoying PSU very much.
Thank you very much.

Hert
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

Mike Buckley
Posts: 1194
Joined: 10 Jul 08 14:18

Re: Batch Commands

Post by Mike Buckley » 05 Oct 12 12:20

Hert/IDimager wrote: I'm still considering if the Save Image should be removed as a batch command or not. As it is, the Save Image command allows you to specify an output file name, but, as you already figured out, the file is saved in the output folder.
Creating small JPEGs from RAW files is part of my daily routine using IDImager V5. Yet I have never used the Save Image command. Instead, I have always used the Rename File command. I see no use for the Save Image command but maybe I'm missing something.

fbungarz
Posts: 1628
Joined: 08 Dec 06 5:03
Location: Arizona, USA

Re: Batch Commands

Post by fbungarz » 13 Mar 16 0:36

but, as you already figured out, the file is saved in the output folder
It would be nice to have a standalone command that simply saves a copy of a file to the current folder...

snowman1
Posts: 305
Joined: 01 Jan 07 3:13
Location: UK

Re: Batch Commands

Post by snowman1 » 13 Mar 16 1:28

A short while ago I raised these questions in mantis, as they have previously not been adequately answered in the forums.

The mantis question is http://mantis.idimager.com/view.php?id=3013.

The threads where these questions have been previously asked are:
http://forum.idimager.com/viewtopic.php?f=57&t=19423 [^] (this one)
http://forum.idimager.com/viewtopic.php?f=57&t=24151 [^]
http://forum.idimager.com/viewtopic.php?f=57&t=23118 [^]
http://forum.idimager.com/viewtopic.php?f=57&t=18746 [^]
http://forum.idimager.com/viewtopic.php?f=57&t=22748 [^]
http://forum.idimager.com/viewtopic.php?f=2&t=17196 [^]
Snowman1
http://www.flickr.com/photos/snowman-1/
--------------------------------------

Post Reply