Batch Conversion of Single-Page TIFF images to Multi-Page PDF

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

vinnythering
Posts: 4
Joined: Thu Nov 04, 2021 7:51 pm

Re: Batch Conversion of Single-Page TIFF images to Multi-Page PDF

Post by vinnythering »

This was a compounded problem. Improving the speed and accuracy of creating the file list, and exporting that data into nConvert commands specific to each document. The number of pages isn't consistent, the title pages are used multiple times for some documents, and only once for others, some files are skipped altogether, and every document has a unique file name. All I'm given is a folder with 1,600+ files, all numerically named. No identifiers, no pre-populated lists. I'm just thankful they're in order 99% of the time. So I'm still forced to manually thumb through every single page and mark the page numbers for splitting out into separate documents.

I've been told I'm not great with communication, so I will take all responsibility for any misunderstandings! I do struggle with putting thought into word and explaining concepts or ideas to others. It's for the best that I am not an educator.
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Conversion of Single-Page TIFF images to Multi-Page PDF

Post by cday »

vinnythering wrote: Tue Nov 16, 2021 5:56 pm This was a compounded problem. Improving the speed and accuracy of creating the file list, and exporting that data into NConvert commands specific to each document. The number of pages isn't consistent, the title pages are used multiple times for some documents, and only once for others, some files are skipped altogether, and every document has a unique file name.
If your original table specifies, with clarification if needed of minor details, a complete problem in need of a solution that can be viewed in isolation, none of the above factors should be an issue for the kind of algorithm I envisaged, someone would have to code it, though.

But if your original statement of the problem is a description of part of a larger problem which can't be viewed and solved in isolation, then that might of course not hold.
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Conversion of Single-Page TIFF images to Multi-Page PDF

Post by cday »

Reading your detailed earlier post again in more detail, you seem to be in effect creating the Excel chart from other data sources as you go?

In that case, you might be able to streamline the overall task by spitting it into first creation of the Excel chart as a separate task, then creation of the required filelists from the Excel chart using a simpler VBA script for just that task, followed by the above NConvert step to create the multipage PDFs, assuming the outstanding option issues are resolved.