How to save the result image in a sub-folder ?
Moderators: helmut, XnTriq, xnview
How to save the result image in a sub-folder ?
How to save the result image in a sub-folder ?
Should the sub-folder exist already or it is can created while saving file ?
Please give me a sample code.
Thank you
Should the sub-folder exist already or it is can created while saving file ?
Please give me a sample code.
Thank you
Re: How to save the result image in a sub-folder ?
For example -o sub/output.jpgboxig wrote:How to save the result image in a sub-folder ?
Should the sub-folder exist already or it is can created while saving file ?
Please give me a sample code.
Pierre.
Re: How to save the result image in a sub-folder ?
How Do I make the output filename use the original filename and add a number to it ?
using # and $ and % doesn't work !
thanks in advance
using # and $ and % doesn't work !
thanks in advance
Re: How to save the result image in a sub-folder ?
this is not working :xnview wrote:For example -o sub/output.jpgboxig wrote:How to save the result image in a sub-folder ?
Should the sub-folder exist already or it is can created while saving file ?
Please give me a sample code.
nconvert.exe -quiet -xall -size 256x256+0 -out jpeg -o sub/output.jpg -q 90 -i -keep_icc -opthuff -dct 2 -smoothingf 0 -subsampling 2 -keepfiledate -keepcspace -buildexifthumb one.jpg
it gives me an error :
can't create file sub/output.jpeg
any tips ?
Re: How to save the result image in a sub-folder ?
Do you have created sub folder?nh2user wrote: can't create file sub/output.jpeg
any tips ?
Pierre.
Re: How to save the result image in a sub-folder ?
No, the subfolder is not being created.
tu peux me parler en francais si tu veux.
tu peux me parler en francais si tu veux.
Re: How to save the result image in a sub-folder ?
NConvert ne cree pas les dossiersnh2user wrote: tu peux me parler en francais si tu veux.
Pierre.
Re: How to save the result image in a sub-folder ?
Il ne cre pas les dossiers, mais les ## et les $$ ne marchent pas non plus dans le commandxnview wrote:NConvert ne cree pas les dossiersnh2user wrote: tu peux me parler en francais si tu veux.
il me met des numero mais ne retranscrit pas le nom du fichier
Re: How to save the result image in a sub-folder ?
comment ça?nh2user wrote:il ne cre pas les dossiers, mais les ## et les $$ ne marchent pas non plus dans le command
il me met des numero mais ne retranscrit pas le nom du fichier
Pierre.
Re: How to save the result image in a sub-folder ?
nconvert.exe -quiet -xall -size 256x256+0 -out jpeg -q 90 -i -keep_icc -opthuff -dct 2 -smoothingf 0 -subsampling 2 -keepfiledate -keepcspace -buildexifthumb
si je rajoute -o $#
il ne me met pas le nom du fichier.
en fait, je souhaite avoir le nom du fichier original + un chiffre a la fin. Comme ca, il n'ecrit pas sur le fichier original si il est du meme format.
car un resize d'un fichier .jpg vers un autre plus petit. M'ecrase l'ancien avec cette formule
cordialement
si je rajoute -o $#
il ne me met pas le nom du fichier.
en fait, je souhaite avoir le nom du fichier original + un chiffre a la fin. Comme ca, il n'ecrit pas sur le fichier original si il est du meme format.
car un resize d'un fichier .jpg vers un autre plus petit. M'ecrase l'ancien avec cette formule
cordialement
Re: How to save the result image in a sub-folder ?
Vous pouvez me donner la ligne de commande svp ? pour avoir un fichier d'export pour avoir le meme nom que le fichier original avec en plus un chiffre au bout, chiffre a 4 numeros.
merci
a quoi sert le -o alors ?
merci
a quoi sert le -o alors ?
Re: How to save the result image in a sub-folder ?
Il n'y a pas de possibilité. # n'est utilisé qu'avec -n
-o precise le chemin/nom de sortie
-o precise le chemin/nom de sortie
Pierre.
Re: How to save the result image in a sub-folder ?
un exemple de -n ?
cordialement
cordialement