Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

409.Batch file rename -- How to batch rename image files by adding picture width and height?

User: editor -- 2010-02-01
Hits: 167
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to batch rename image files by adding picture width and height?
Input Sample:
File1.jpg
File2.jpg
File3.jpg
Output Sample:
File1_2048_1536.jpg
File2_640_480.jpg
File3_1024_768.jpg
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. ctrl-B open "Batch Runner" dialog
2. Drag all picture files from windows "File Browser" to "Batch Runner" window.
3. Check option of "set output filename", and change the entry from ${FILENAME} to:

4. Check if the preview of new filename in output file column is correct.
5. Click "File Rename" button, done! 

Note: You need to install Replace Pioneer 2.53 and above to use img_info function

%W is picture width
%H is picture height

Similar Examples:
How to batch rename files by adding parenthesis for each number? (70%)
How to batch rename files by adding timestamp of current time? (69%)
How to batch rename files by generating a random word that in the list? (66%)
How to batch rename text files by adding the value of file content to filename? (66%)
How to batch rename picture files to the data and time of the pictures? (65%)
How to batch rename files by moving the leading numbers to the end? (62%)
How to batch rename each html file to the title of the html file? (60%)
How to move all image files with the width greater than height? (59%)

Check Demo of Batch file rename