Syntax for -page num and Pdf file

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
Little mouse

Syntax for -page num and Pdf file

Post by Little mouse » Fri Dec 12, 2008 8:02 pm

Hello

I try to extract one page in a Pdf file with
nconvert.exe -out jpeg -page 7 -o tst.jpg guide.pdf
I get the fisrt page

with the -xall it's ok

The same syntax with a Pps file it's ok

Thanks a lot

User avatar
xnview
Author of XnView
Posts: 30875
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Syntax for -page num and Pdf file

Post by xnview » Sat Dec 13, 2008 11:57 am

-page 7 works only if you use -xall, right?
Pierre.

Little mouse

Syntax for -page num and Pdf

Post by Little mouse » Sat Dec 13, 2008 8:54 pm

Sorry I was too short,

When I use :

nconvert.exe -out jpeg -xall -o tst.jpg guide.pps
It's ok I get tst-0.jpg tst-1.jpg tst-2.jpg ...

nconvert.exe -out jpeg -page 7 -o tst.jpg guide.pps
It's ok I get tst.jpg and it's the same picture as tst-7.jpg

When I use :

nconvert.exe -out jpeg -xall -o tst.jpg guide.pdf
It's ok I get tst-0.jpg tst-1.jpg tst-2.jpg ...

The problem is going :
I try the same syntax as the pps file
nconvert.exe -out jpeg -page 7 -o tst.jpg guide.pdf
It doesn't much matter the number of the chosen page, it's always the first page which is generated in the file destination = tst.jpg

I try to put -xall before or after -page x, it's the same.

Is it more clear ?

Thanks a lot.

User avatar
xnview
Author of XnView
Posts: 30875
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Syntax for -page num and Pdf

Post by xnview » Mon Dec 15, 2008 9:32 am

Right i confirm
Pierre.

Little mouse

Syntax for -page num and Pdf

Post by Little mouse » Wed Dec 17, 2008 10:28 am

Thank you for your prompt answer.

Do you think resolve this problem later?

Have a good day - LM

User avatar
xnview
Author of XnView
Posts: 30875
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Syntax for -page num and Pdf

Post by xnview » Wed Dec 17, 2008 10:51 am

Little mouse wrote:Thank you for your prompt answer.

Do you think resolve this problem later?

Have a good day - LM
Yes, will be fixed in next release
Pierre.

Post Reply