Converting multiple files, no results

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

Moderators: XnTriq, helmut, xnview

Heywood

Converting multiple files, no results

Post by Heywood »

Hi, i am stuck...

The NConvert batch file is here:

nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out tiff -o Z:\converted_pictures\ -dpi -ratio -rtype linear -resize 180 0 -grey 256 Z:\new_pictures\*.*

and the result is "Error: cant create file (Z:\converted_pictures\)

Where is the problem?
User avatar
xnview
Author of XnView
Posts: 44584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Converting multiple files, no results

Post by xnview »

Heywood wrote:Hi, i am stuck...

The NConvert batch file is here:

nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out tiff -o Z:\converted_pictures\ -dpi -ratio -rtype linear -resize 180 0 -grey 256 Z:\new_pictures\*.*

and the result is "Error: cant create file (Z:\converted_pictures\)

Where is the problem?
Try :
nconvert -out tiff -o Z:\converted_pictures\# -dpi -ratio -rtype linear -resize 180 0 -grey 256 Z:\new_pictures\*.*
Pierre
Heywood

almost good

Post by Heywood »

instead # i placed %%.tif
and to get all files from source folder for convertion i replaced *.* with *%.*%
and ... the -ratio is a bug.

Thanks.