incompatibility between -xall and % in -o

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

Moderators: helmut, XnTriq, xnview

Post Reply
mprost
Posts: 4
Joined: Thu Feb 02, 2012 1:39 pm

incompatibility between -xall and % in -o

Post by mprost »

Hi.

I'm having an issue trying to convert some TIFF files into PNG using NConvert 6.01 and Windows 7 Ultimate x64. If I run (from the command prompt):

Code: Select all

nconvert.exe -out png -o %.png 11193.tif
I obtain "11193.png" (as expected), but if I run:

Code: Select all

nconvert.exe -xall -out png -o %.png 11193.tif
I obtain ".png". The source TIFF file is not even a multipage one (trying with multipage ones yields the same result).

Am I doing something wrong? BTW, I think similar issues have been reported previously (here and here) to no avail.

Thanks.

Cheers,

mprost

keywords: specify source filename percent sign output filename
mprost
Posts: 4
Joined: Thu Feb 02, 2012 1:39 pm

Re: incompatibility between -xall and % in -o

Post by mprost »

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

Re: incompatibility between -xall and % in -o

Post by xnview »

ok, a bug, i'll fix it
Pierre.
mprost
Posts: 4
Joined: Thu Feb 02, 2012 1:39 pm

Re: incompatibility between -xall and % in -o

Post by mprost »

Thank you very much.

Cheers,

mprost
mprost
Posts: 4
Joined: Thu Feb 02, 2012 1:39 pm

Re: incompatibility between -xall and % in -o

Post by mprost »

xnview wrote:ok, a bug, i'll fix it
Have just tried with version 6.05 and it works perfectly, thank you very much.

Cheers,

mprost
bar_foo
Posts: 17
Joined: Fri Feb 16, 2007 8:27 pm

Re: incompatibility between -xall and % in -o

Post by bar_foo »

mprost wrote: Have just tried with version 6.05 and it works perfectly, thank you very much.
That's strange: I'm having the same problem and it isn't fixed in 6.05 (64-bit), for me, when I try to convert one multipage file to another. For example,

Code: Select all

nconvert -xall -multi -out tiff -o % *.pdf
only uses the filename of the first PDF file. It creates a TIFF with the name of the first PDF file, then appends the data from the first, second, third, etc. files. Or am I misunderstanding the syntax (my goal was to convert all the PDFs in the folder to TIFFs).
Post Reply