Hello,
I need to extract particular pages of tiff image (more than one page but not all pages).
Here is the command I tried but it wont work.
nconvert -out jpeg -resize 120 150 -page 0,1,2 -o test.jpg test.tif
But for single page it works.
nconvert -out jpeg -resize 120 150 -page 0 -o test.jpg test.tif
Could you please help on this?
How to extract particular pages of tiff
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 3894
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: How to extract perticular pages of tiff
I'm not sure that the -page switch supports extracting more than one page at a time, so in the absence of any better information, I can only suggest that you test any other possible code options you can think of... Edit: You could possibly try replacing the commas by spaces, for example].punith8626 wrote:I need to extract particular pages of tiff image (more than one page but not all pages).
Here is the command I tried but it won't work.
But for a single page it works.Code: Select all
nconvert -out jpeg -resize 120 150 -page 0,1,2 -o test.jpg test.tif
Code: Select all
nconvert -out jpeg -resize 120 150 -page 0 -o test.jpg test.tif[/quote]
You might try including the -page switch twice in the same command line to see if that works, sorry I don't have time at the moment to do any tests myself.
Would running nconvert multiple times in a batch file to extract each page you need be an option?