pass multiple pages using -page
Posted: Wed Apr 08, 2009 4:41 pm
Is there a way to pass nconvert more than one page when the -page option is selected?
I have large multilayer tiffs (thousands of images) and would like to be able to call nconvert once to output 5 & 6 or 5,7,9.... you get the picture.
And if this is doable can I pass the page numbers to the output filename? eg. 5.jpg, 6.jpg
I can accomplish this in PHP and call nconvert using bac tics but I worry about the speed hit I would take having to initialize nconvert for each item.
Thanks in advance for any input.
As an aside I've been trying to use: ./nconvert -out jpeg -q 75 -page 2 someTif.tif and am only getting the first image NOT the second....
I have large multilayer tiffs (thousands of images) and would like to be able to call nconvert once to output 5 & 6 or 5,7,9.... you get the picture.
And if this is doable can I pass the page numbers to the output filename? eg. 5.jpg, 6.jpg
I can accomplish this in PHP and call nconvert using bac tics but I worry about the speed hit I would take having to initialize nconvert for each item.
Thanks in advance for any input.
As an aside I've been trying to use: ./nconvert -out jpeg -q 75 -page 2 someTif.tif and am only getting the first image NOT the second....