Need scripts for laying out 7000+ 8k files 6 to a page in Photoshop
I am doing a photo project that involves outputting images 6 up on a template that is 41,800 x 29,860 pixels.
The area available for the 6 images is 35,000 x 26,000:

The images are scans that are either 6k or 8k sRGB and they need to land on the template at 100% (no resize, 1:1). Some of the images are vertical and some are horizontal. They should all be rotated to be vertical.
Each page needs to have a serial number but it would be best to be able to state what number to start with when running the script.
And I need a flattened sRGB tif as the output.
I tried Contact Sheet X and ran into a limit of 20000 pixels on the document size. I also tried to add my template to the templates folder as a background but it would not show up as a choice when running the script.
I tried Contact Sheet II but this has a limit of 29,000 and it also resized the images (made them bigger). And no tif output.
The serial number could come from the Document Title Field in the metadata and I could rotate all the images in Bridge so they are vertical to simplify matters.
