Page 1 of 1

-o vs -out

Posted: Wed Sep 01, 2021 5:59 pm
by Poto
I have a question.

Code: Select all

nconvert -i sample.gif -o tif
-o was tested and not recognized properly, only -out can convert the format properly

Code: Select all

C:\Users\Poto>"D:\Documents\Quicker\NConvertByPoto\nconvert.exe" -o png "D:\Pictures\favicon (3).ico"
** NCONVERT v7.80 (c) 1991-2021 Pierre-E Gougelet (Apr 27 2021/08:27:27) **
        Version for Windows Xp/Vista/7 x64  (All rights reserved)
** This is freeware software (for non-commercial use)

Conversion of D:\Pictures\favicon (3).ico into png_1.ico OK
With this command above, the output is wrong.

Code: Select all

C:\Users\Poto>"D:\Documents\Quicker\NConvertByPoto\nconvert.exe" -out png "D:\Pictures\favicon (3).ico"
** NCONVERT v7.80 (c) 1991-2021 Pierre-E Gougelet (Apr 27 2021/08:27:27) **
        Version for Windows Xp/Vista/7 x64  (All rights reserved)
** This is freeware software (for non-commercial use)

Conversion of D:\Pictures\favicon (3).ico into D:\Pictures\favicon (3).png OK
When I change -o to -out, the normal conversion format

According to the documentation, -o is the file name and -out is the output format name

Re: How to use NConvert

Posted: Wed Sep 01, 2021 6:05 pm
by cday
In NConvert the source file (or files) must be the right-most term in the command line.

-out sets the output file format (may not be required if the same format as the source file).

-o sets the output file name (may not be required if same as source file name).

For output file compression options according to the output file format see the help file.


Full details of all available options are in the NConvert help file.