Page 1 of 1
How to extract specific pages from multi tiff file
Posted: Wed May 10, 2017 2:31 pm
by punith8626
How to extract specific pages from multi tiff file?
I tried with below command but it didn't work.
Code: Select all
nconvert -out png -n 1 2 3 -o C:\uploads\10-05-2017\6F9AA81B-DE97-42AA-859D-BB019190D704\ori\90637256_#.png C:\uploads\10-05-2017\6F9AA81B-DE97-42AA-859D-BB019190D704\tiff\123.tif
Re: How to extract specific pages from multi tiff file
Posted: Wed May 10, 2017 3:22 pm
by cday
punith8626 wrote:How to extract specific pages from multi tiff file?
I tried with below command but it didn't work.
Code: Select all
nconvert -out png -n 1 2 3 -o C:\uploads\10-05-2017\6F9AA81B-DE97-42AA-859D-BB019190D704\ori\90637256_#.png C:\uploads\10-05-2017\6F9AA81B-DE97-42AA-859D-BB019190D704\tiff\123.tif
I'm not sure whether it is possible to extract individual pages without doing some tests myself, but this may be the NConvert option to use:
... where
num is the page number to be extracted. I'm not sure if you can possibly use the option more than once in the same code line??
Note that the
-n option is for numbering output files, and the sequence 1 2 3 probably isn't a valid sequence anyway if you check the help file.
Re: How to extract specific pages from multi tiff file
Posted: Wed May 10, 2017 5:31 pm
by cday
Update to the above:
o -page num is the option to extract a page from a multi-page file;
o Page numbering starts at 0 to extract page 1 (unlike the page numbering in the XnView viewer...);
o The option can only be used once in a command line (otherwise only the last entry is used);
o To extract multiple pages you need to use multiple code lines extracting single pages in a batch file.