by cday (Posted Sat Oct 01, 2016 9:55 pm)
I don't know if this helps -- I've had a glass of wine before going to bed -- but this code run in a Windows batch file possibly produces the result you need:
The output files created are:
Filename-001.jpg
Filename-002.jpg
Filename-003.jpg
Filename-004.jpg
Note that the '%' for the source filename is doubled because I'm testing in a batch file.
If there is in fact no way of getting the result you need using NConvert, it should be possible using the command line utility BRC Bulk Rename Command in a batch file to rename the output files after extracting the images with NConvert.
Read Main Topic
I don't know if this helps -- I've had a glass of wine before going to bed -- but this code run in a Windows batch file possibly produces the result you need:
- Code: Select all
nconvert -xall -dpi 300 -out jpeg -o "%%-###.jpg" Filename.pdf
The output files created are:
Filename-001.jpg
Filename-002.jpg
Filename-003.jpg
Filename-004.jpg
Note that the '%' for the source filename is doubled because I'm testing in a batch file.
If there is in fact no way of getting the result you need using NConvert, it should be possible using the command line utility BRC Bulk Rename Command in a batch file to rename the output files after extracting the images with NConvert.
Read Main Topic