Converting multiple files, no results

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

Moderators: XnTriq, xnview

Post Reply
Heywood

Converting multiple files, no results

Post by Heywood » Tue Aug 03, 2004 1:35 pm

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: 31881
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Converting multiple files, no results

Post by xnview » Tue Aug 03, 2004 3:05 pm

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 » Wed Aug 04, 2004 8:30 am

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

Thanks.

Post Reply