Startseite › Forums › www.mortara.org › Software › WIA-Loader › Group by Sequence?
- Dieses Thema hat 6 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 14 Jahren, 3 Monaten von Anonym aktualisiert.
-
AutorBeiträge
-
8. August 2010 um 04:50 Uhr #1477AnonymInaktiv
Hello,
I would like to store my images in folders named after the starting and ending number range of the photos that I am uploading. For example, if the camera has pictures IMG_0134.jpg through IMG_0412.jpg, then I would like to store all those photos in a single directory named C:\photos\0134-0412.
Can the "Group by sequence" do this? What can you put in the "Seq. property" box? How does this feature work?
Thank you!
– Peter9. August 2010 um 06:35 Uhr #1478PatrickAdministratorHello Peter,
the ‚Group by Sequence‘ feature allows you to form groups of (sequential) images with same properties. For example, you can put an exif field containing the used lens in the ‚Seq. Property‘ field and it will create a new group whenever you have switched the lens on your camera. The resulting group names have to be entered manually.
ATM, the easiest way to achieve what you want, would be to use a ‚Keyword‘ step, and enter the numbers manually. I’ll take a look to see if there is a easier method …..
Patrick
9. August 2010 um 17:25 Uhr #1479AnonymInaktivPatrick,
One other thing I tried is to use two "Create Variable" steps as follows:
Step: FIRSTNAME
Condition: <NAME> < <FIRSTNAME>
FIRSTNAME = <NAME>
Initial value = ZZZ_9999Step: LASTNAME
Condition: <NAME> > <LASTNAME>
LASTNAME = <NAME>
Initial value = AAA_0000Step: Save Image
Create folder: <FIRSTNAME:|5-8>-<LASTNAME:|5-8>This did not work. I also tried using numbers instead: <variable:|5-8> with 9999 and 0 for initial values. Am I using the condition or variable assignment incorrectly? I guess this method only works if WIA_Loader does two passes: one to assign these variables and the second for the actual transfer.
By the way, just having the name of the first photo in the directory would also be ok instead of the range (C:\photos\0134) if that is easier.
Thanks again!
– Peter10. August 2010 um 06:57 Uhr #1480PatrickAdministratorHi,
you’re right, it would need two passes through all the steps in order to make it work with the CreateVariable step. I found a very easy solution to your problem, it’s in the new beta version. I’ve added to new variables <FIRSTIMAGE> and <LASTIMAGE>, containing the names of the first and the last selected image to be imported.
Patrick
10. August 2010 um 16:51 Uhr #1481AnonymInaktivPatrick,
Thanks for putting those variables in so quickly! I’m afraid that it does not quite work however. It looks like the order that the images are transferred from the camera is not necessarily in numerical order, and not the same every time. In my camera, I have images IMG_0681 to IMG_0930. The first time I ran it, FIRSTIMAGE was IMG_0914 and LASTIMAGE was IMG_0681. The next time I ran the same profile, FIRSTNAME was IMG_0681 and LASTNAME was IMG_0914. From then on, each time I ran the same profile, it alternated between those two!
I don’t know if you have control over the order of transfer, but if you did it in alphabetical filename order, these variables should work. If you do not have control over the order, I think the only way for this to work would be 2 passes.
Thanks again for looking at this!
– Peter11. August 2010 um 07:05 Uhr #1482PatrickAdministratorYou can specify the sort order from the main windows menu-bar. The import should use the same sort order as the preview window.
16. August 2010 um 16:41 Uhr #1498AnonymInaktivWorks great, many thanks!
– Peter -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.