Page 1 of 1

global filename change on contact sheet

Posted: Thu Oct 20, 2005 2:49 am
by topdude
great program, congratulations!

question:

i want to create a contact sheet from a Kodak .PCD PhotoCD where ONLY my own image numbers show up below the small photos. how can i do that?

by default, the Kodak .PCD PhotoCD has filenames in a "IMG9999.PCD" format for a slide number "9999" - i only want to keep the "9999" part (i.e., the slide number).

i want to get rid of the "IMG" and the ".PCD" parts of the filename.

any suggestions?

all the best folks.

Re: global filename change on contact sheet

Posted: Thu Oct 20, 2005 6:12 am
by xnview
topdude wrote:great program, congratulations!

question:

i want to create a contact sheet from a Kodak .PCD PhotoCD where ONLY my own image numbers show up below the small photos. how can i do that?

by default, the Kodak .PCD PhotoCD has filenames in a "IMG9999.PCD" format for a slide number "9999" - i only want to keep the "9999" part (i.e., the slide number).

i want to get rid of the "IMG" and the ".PCD" parts of the filename.

any suggestions?

all the best folks.
Ok, i'll add an item for that...

unique slide numbers

Posted: Thu Oct 20, 2005 9:03 pm
by topdude
my aim is to use my own slide number undeneath the images (i) without any file extension, or (ii) even if the slide number and the filenumber are different (but of course linked) numbers.

Q (i)
in a renaming program, i guess i just call rename the files to myslidenumber.PCD or myslidenumber.TIFF.

still, in this case the .PCD or other extension will show up in the contact sheet under the small images.

any way to eliminate the ".PCD" (or any ather file extension) and leave only the actual filename (now ame as slidenumber)?

Q (ii)
it would be really helpful if i could just paste (from excel, word, or simple text, etc.) the new numbers (100s, maybe 1000s of single column rows) directly into the column on the right side called "New name".

e.g.

default file name - my own slide numbers
IMG0001.PCD - 4567
IMG0002.PCD - 36548
IMG0003.PCD - 6789
IMG0004.PCD - 26782
IMG0005.PCD - 24355
...and so on for 100s of images

i only want my own slide numbers to appear underneath the conatct sheet's images.

all the best

Re: unique slide numbers

Posted: Thu Oct 20, 2005 9:31 pm
by helmut
topdude wrote:...
Q (ii)
it would be really helpful if i could just paste (from excel, word, or simple text, etc.) the new numbers (100s, maybe 1000s of single column rows) directly into the column on the right side called "New name".

e.g.

default file name - my own slide numbers
IMG0001.PCD - 4567
IMG0002.PCD - 36548
IMG0003.PCD - 6789
IMG0004.PCD - 26782
IMG0005.PCD - 24355
...and so on for 100s of images

i only want my own slide numbers to appear underneath the conatct sheet's images.

all the best
What you want to do is a batch rename with custom names. Perhaps a way to achieve what you want:
1.) Using a text editor, you create some script that does the renaming. This shouldn't be too hard with a good editor. Lines would look like

Code: Select all

rename IMG0001.PCD 4567.PCD
...
The hard bit is to get rid of the ".PCD". Pierre could add something like "Filename without extension".

A different approach:
In the contact sheet you can use the file name and display it in the contact sheet, but you can also use other fields. E.g. for your own numbers you could use the description. But batch changing the description will be difficult, for all I know nconvert does not support this.

Re: global filename change on contact sheet

Posted: Thu Oct 20, 2005 9:45 pm
by helmut
xnview wrote:
topdude wrote:great program, congratulations!

question:

i want to create a contact sheet from a Kodak .PCD PhotoCD where ONLY my own image numbers show up below the small photos. how can i do that?

by default, the Kodak .PCD PhotoCD has filenames in a "IMG9999.PCD" format for a slide number "9999" - i only want to keep the "9999" part (i.e., the slide number).

i want to get rid of the "IMG" and the ".PCD" parts of the filename.

any suggestions?

all the best folks.
Ok, i'll add an item for that...
I think a field "Filename without extension" makes sense.

Adding a way to use a specific substring of a placeholder might be useful in various cases. Perhaps similar to the user-defined date format variables some kind of substr() function could be added. E.g. <Filename [4-9]> for the middle characters at position 4 to 9.
Not sure how important and useful such a feature would be, it would help here and might help in some special cases when batch renaming for example.