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....
pass multiple pages using -page
Moderator: xnview
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: pass multiple pages using -page
No, you want to process all pages of a multi page tiff?blender50 wrote:Is there a way to pass nconvert more than one page when the -page option is selected?
Pierre.
-
blender50
- Posts: 3
- Joined: Mon Mar 30, 2009 7:35 pm
Re: pass multiple pages using -page
I wish to convert just some of the pages. Some of these tiffs have thousands if images and I only need a handful of them. They are distributed randomly throughout the tiff.
-
blender50
- Posts: 3
- Joined: Mon Mar 30, 2009 7:35 pm
Re: pass multiple pages using -page
This was just me being stupid, I'd forgotten that the page numbering is 0,1,2,.... and not 1,2,3,...blender50 wrote:
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....