Table of Contents
1 NConvert User Guide........................................................................................................................................................................................................1
i
1 NConvert User Guide
Latest release: 7.12 / Download / May 2017
Website: [Link]
Forum: [Link]
Download Reference Manual as PDF
NConvert is the multi-format commandline image converter for Win32, Linux, DOS, OS/2, and other platforms.
• Type "nconvert -help" for available options.
• Type "nconvert -help > [Link]" to save the help text into the file "[Link]".
• Convert files to a specific format
nconvert -out tiff [Link] [Link] [Link]
• Convert GIF files to JPEG files
nconvert -out jpeg -truecolors *.gif
• Convert JPEG files to GIF files
nconvert -out gif -dither -colors 256 *.jpeg
• Convert with a resize
nconvert -out png -resize 510 230 *.jpeg
nconvert -out png -ratio -resize 510 0 *.jpeg
nconvert -out png -ratio -resize 0 510 *.jpeg
nconvert -out png -resize 200% 200% *.jpeg
• You can use it with images sequences.
For example, to convert the files [Link], [Link], ..., [Link] and we convert to jpeg format with the name pattern [Link], res1.j
nconvert -out jpeg -n 1 10 1 -o res#.jpg file##.pic
• You can use % to specify source filename in dest filename.
For example, nconvert -out jpeg -o result_%.jpg [Link] creates a file named result_file.jpg
Note for Windows users: In batch files you must write %% instead of %. To bypass this problem, you can use a nconvert script instead of a batc
• You can control nconvert with a script, performing multiple sets of conversions on multiple sets of files, example:
### -out png -rtype lanczos -resize 200% 150%
[Link]
[Link]
[Link]
### -out gif -rtype lanczos -resize 500% 500% -oil 10 -colours 32
F:\icons\[Link]
### -out bmp -rtype lanczos -resize 30% 30% -oil 2 -rotate_flag smooth -rotate 45
[Link]
[Link]
Save this into a text file, for example "[Link]", and then run nconvert with this file as the only parameter: "nconvert [Link]" .
Limitations:
♦ Add text feature uses the Win32 API and is avaiable on Win32 only.
♦ Some exotical image formats use external DLL's and are available on Win32 only.
♦ When using a script file, avoid multiple spaces in the conversion definitions, they confuse the parser.
♦ Converting huge images, or scaling up to a huge size requires much memory and may not always work.
Notes for DOS users:
Since version 4.90, nconvert is supported for DOS again. It is a 32-bit DOS application, using the "DOS/32A Extender".