Skip to main content
Participant
June 10, 2024
Question

Trying to include dimensions in inches in batch rename

  • June 10, 2024
  • 2 replies
  • 332 views

I am looking for a way to edit the units shown when doing a batch rename. It defaults to pixels, but I would like for it to output the Height x Width in inches instead. I have already changed my preferences in the Metadata tab to show dimensions (in inches), but it doesn't seem to have worked. Is there any easy way to go about this?

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
June 11, 2024

I wrote some Photoshop and Bridge scripts for a similar task here:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/script-to-add-image-size-to-description-field-to-include-in-printing-marks/td-p/14597499

 

The resolution info is easily removed and as Description isn't available in Batch Rename, the dimensions would need to be written to a different, unused field as suggested by @Lumigraphics (such as Headline or Title).

 

How would you wish to list the dimensions? One shouldn't use the " character in a filename, so in would be used instead. There can be problems using the period . character as well to separate sizes in filenames such as 5.5in, so a hyphen would be safer i.e. 5-5in. How many decimal points would the dimension show?

 

Can you type out a before/after filename example?

Legend
June 10, 2024

Presumably you'd need a custom script to calculate and write the value into a metadata field, say Headline, and then use that in the Batch Rename dialog.