10-22-2010, 01:04 PM
Hi,
I'm trying to find a simple way to extract all the pages from a large PDF file into separate smaller PDF files. For example, extracting a 100 page document into 100 single page PDF files.
I can do it in my code by looping over and over, but that requires the pdfmeld.exe to run 100 times (in this example) - and it takes a long time to do the entire PDF. Is there a way to do something like this:
pdfmeld.exe large.pdf %1.pdf -kn keyname -kc keynumber -pagefmt %1
Where: %1 would be the current page, so the outputs would be page1.pdf, page2.pdf, page3.pdf, etc.
Thank you!
I'm trying to find a simple way to extract all the pages from a large PDF file into separate smaller PDF files. For example, extracting a 100 page document into 100 single page PDF files.
I can do it in my code by looping over and over, but that requires the pdfmeld.exe to run 100 times (in this example) - and it takes a long time to do the entire PDF. Is there a way to do something like this:
pdfmeld.exe large.pdf %1.pdf -kn keyname -kc keynumber -pagefmt %1
Where: %1 would be the current page, so the outputs would be page1.pdf, page2.pdf, page3.pdf, etc.
Thank you!