Need help to select destination location

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

Moderators: XnTriq, helmut, xnview

Post Reply
GeoDragon
Posts: 2
Joined: Sat Aug 09, 2014 1:54 am

Need help to select destination location

Post by GeoDragon »

Could anyone tell me how to fix my script or command lines to choose a different destination after the image have been resized? I am very new to all of this. Any help would be appreciated.

Batch:
nconvert -ratio -rtype lanczos -rflag decr -resize 400 400 C:\Users\Jay\Desktop\temp\*.jpg C:\Users\Jay\Desktop\temp\400\*.jpg

script:
<?xml version="1.0" encoding="UTF-8"?><XnView_script version="1.0" name="NBatch">
<Resize mode="0" width="400" height="400" unit="0" ratio="true" orientation="false" enlarge="1" resample="7"/>
<Output folder="C:/Users/Jay/Desktop/temp/400" filename="{Filename}" case="1">
<Options overwrite="2" orgDate="false" keepMeta="true" keepICC="false" keepFolder="false" delOrg="false" multipage="false" allPages="false" openExplorer="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="0" subSampling="0" smoothFactor="0"/>
<TGA compress="false" bottomUp="false"/>
<TIFF compress="0" quality="80" compressBW="0" oneStrip="false"/>
<BMP compress="false" hdrOS2="false"/>
<PNG level="6" interlaced="false" filter="0"/>
<GIF interlaced="false" hdr87a="false"/>
<PCX compress="false"/>
<WEBP method="0" quality="80" filesize="128"/>
<PDF compress="0" quality="80"/>
<JXR quality="80" colorFormat="0" filter="0"/>
<JP2 mode="0" quality="80" ratio="4" fileSize="100"/>
</Output>
</XnView_script>
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Need help to select destination location

Post by XnTriq »

Code: Select all

nconvert -ratio -rtype lanczos -rflag decr -resize 400 400 -o C:\Users\Jay\Desktop\temp\400\%.jpg C:\Users\Jay\Desktop\temp\*.jpg
GeoDragon
Posts: 2
Joined: Sat Aug 09, 2014 1:54 am

Re: Need help to select destination location

Post by GeoDragon »

Thanks for the help, it's truly appreciated. Only change I had to make (thanks to your links) was to add a double % to the line. Works exactly like I want, Great program.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Need help to select destination location

Post by XnTriq »

Welcome to the forum, GeoDragon (-:
Post Reply