Page 1 of 2
Can NConvert create directories?
Posted: Tue Dec 18, 2012 8:30 am
by Christian72D
I found a project someone started with irfanview as a batch tool.
The problem is: Irfanview stops if it finds an unreadable jpeg.
Now i want to make the whole thing with nconvert (i hate Irfanview).
The problem is: with irfanview i can create directories wihile creating jpeg:
Code: Select all
"%iview%" /filelist=%randomNumber%_filelist_xl.txt /resize_long=%sizeL% /aspectratio /convert="$D\SYNOPHOTO%%3ATHUMB_L.jpg" /filepattern="*.jpg" /jpgq=%jpgq% /silent /cmdexit %extraquality%
When i switch it to nconvert it says that its not able to write the file.
Code: Select all
"%iview%" -l %randomNumber%_filelist_original.txt -resize %sizeXL% 0 -q %jpgq% -ratio -o %target%\%randomNumber%\@eaDir\%%\SYNOPHOTO__3ATHUMB_XL.jpg
Did i miss a switch?
Re: Can NConvert create directories?
Posted: Tue Dec 18, 2012 9:30 am
by xnview
Ok, i'll add it
Re: Can NConvert create directories?
Posted: Tue Dec 18, 2012 10:40 am
by Christian72D
PERFECT!
Thank you!
Re: Can NConvert create directories?
Posted: Tue Dec 18, 2012 1:32 pm
by Christian72D
Looks like there is an other problem: nconvert has the same problem with "non standard"-characters, it can´t read/or write them.
If i have a filename with a german "Umlaut" like "ä ö ü ß" and so on i get an error.
Is THIS also fixable?
Re: Can NConvert create directories?
Posted: Wed Dec 19, 2012 10:29 am
by xnview
yes for unicode character could you try this version (a beta)
http://www.xnview.com/beta/nconvertb.zip
Re: Can NConvert create directories?
Posted: Wed Dec 19, 2012 1:40 pm
by Christian72D
I get the same error:
Code: Select all
Error: Can't open file (d:\_Convert\nconvert\Übersicht Fotos.JPG)
Error: Can't open file (d:\_Convert\nconvert\Übersicht Tracks.JPG)
Re: Can NConvert create directories?
Posted: Wed Dec 19, 2012 2:19 pm
by xnview
if you try
Code: Select all
nconvert -info d:\_Convert\nconvert\Übersicht Fotos.JPG
Re: Can NConvert create directories?
Posted: Wed Dec 19, 2012 3:40 pm
by Christian72D
It looks like it can´t find the picture because of the <SPACE>.

When i convert a unicode File by hand it works, from filelist it does not.
I have a little package for you with some files an a little batch, you can download it from my server:
christian72d.mine.nu/temp/nconvert.zip
Re: Can NConvert create directories?
Posted: Wed Dec 19, 2012 7:23 pm
by xnview
If i take a look at the liste.txt created by the .bat, the filename are bad
If i create by myself the .txt, nconvert works...
Re: Can NConvert create directories?
Posted: Thu Dec 20, 2012 7:36 am
by Christian72D
How do YOU create the list?
Re: Can NConvert create directories?
Posted: Thu Dec 20, 2012 12:39 pm
by xnview
Christian72D wrote:How do YOU create the list?
by hand... The list is correct for you?
Re: Can NConvert create directories?
Posted: Thu Dec 20, 2012 4:03 pm
by Christian72D
Yes, when i let the batch create this list all unicode characters are displayed well.
Re: Can NConvert create directories?
Posted: Thu Dec 20, 2012 8:05 pm
by xnview
Christian72D wrote:Yes, when i let the batch create this list all unicode characters are displayed well.
your list.txt is in unicode? Not me... Could you send me it?
Re: Can NConvert create directories?
Posted: Thu Dec 20, 2012 9:56 pm
by Christian72D
My list is in the archiv.
Is it not unicode? But it displays alls non standard characters.
Re: Can NConvert create directories?
Posted: Fri Dec 21, 2012 12:56 pm
by xnview
Christian72D wrote:My list is in the archiv.
On my 7, the liste.txt can not be readed correctly...
Try to save the liste.txt as unicode?