Hi there,
I am looking to make the creation of variable PDF / JPG files from an indesign template as quick as possible. Has anyone benchmarked the performance of using javascript (which I use now) vs C# with COM to run indesign scripts?
The scripts I have now use data merge fields to create variable PDF / JPG files with an indesign template. The slow lines of the code are
doc.dataMergeProperties.mergeRecords();
and
document.exportFile(ExportFormat.JPG, destination);
if there are any other hints on how to speed this up I would appreciate it. For a seven page PDF with around twenty seven variable fields it is taking around 2 seconds to generate a single document.
Dustin