Multipage PDF to 1,2... n jpgs

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

Moderators: XnTriq, xnview

Post Reply
feyyaz78
Posts: 2
Joined: Wed Aug 08, 2007 12:39 pm

Multipage PDF to 1,2... n jpgs

Post by feyyaz78 » Wed Aug 08, 2007 12:50 pm

i want to generate multiple jpgs for every page in an pdf

i use this command line (nconvert v4.79)

nconvert -out jpeg -xall -o test.jpg -thumb 370 510 input.pdf

if the pdf has 5 pages nconvert generates 5 jpegs, but every jpeg contains the first page of the pdf.

first i thougt the pdf is maybe in an strange format, but xnview shows every page using the frame navigation.

am i forgetting an importend parameter in the command line or could it be a bug?

please help.

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

Re: Multipage PDF to 1,2... n jpgs

Post by xnview » Wed Aug 08, 2007 1:45 pm

feyyaz78 wrote:i want to generate multiple jpgs for every page in an pdf

i use this command line (nconvert v4.79)

nconvert -out jpeg -xall -o test.jpg -thumb 370 510 input.pdf

if the pdf has 5 pages nconvert generates 5 jpegs, but every jpeg contains the first page of the pdf.

first i thougt the pdf is maybe in an strange format, but xnview shows every page using the frame navigation.

am i forgetting an importend parameter in the command line or could it be a bug?

please help.
If i try: nconvert -xall -out jpeg -o test.jpg input.pdf, each jpeg is a page of the pdf...
Pierre.

feyyaz78
Posts: 2
Joined: Wed Aug 08, 2007 12:39 pm

Post by feyyaz78 » Wed Aug 08, 2007 2:27 pm

allright i tryed it and it works. it seems that "-thumb" only creates an image from the first page, regardles of the count of pages

thx for your help

Post Reply