Search found 10 matches

by agdabn
Wed Mar 03, 2021 10:58 pm
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

YES, super
Thank you very much.
Now everything works as it should. Final variation:
@chcp 1251
@for /R "D:\images_Input\" %%I in (*.jp*) do D:\NConvert\nconvert -ratio -rtype lanczos -rflag decr -rflag orient -resize 500 500 -sharpen 50 -dpi 96 -q 70 -overwrite -rmeta -rexifthumb -o D:\images_Out ...
by agdabn
Wed Mar 03, 2021 10:20 pm
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

In this case,- D will not help.
After all, the original file is located in a different directory. And the replacement is necessary in the Output folder. I.e. if there is already a file with this name in the Output folder, then it must be replaced.
by agdabn
Wed Mar 03, 2021 9:46 pm
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

Yes, you're right!

I used -rmeta and -rexifthumb to remove the metadata. instead of-clean 95
I figured out how to make different folders of input and output files. here is the Code:

@chcp 1251
@for /R "D:\images_input\" %%I in (*.jp*) do D:\NConvert\nconvert -ratio -rtype lanczos -rflag decr ...
by agdabn
Wed Mar 03, 2021 10:32 am
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

Oh, cday, thank you so much for your help.

We will wait for the developers ' response
by agdabn
Wed Mar 03, 2021 9:32 am
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

Yes, that's right.
The image size is not 500x500
And the weight of XnConvert is 15 kb and NConvert is 409 kb. This fact is the most significant disadvantage

I tried adding -q 70, the weight decreased to 406 kb, but it's still very much
by agdabn
Wed Mar 03, 2021 6:30 am
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

Hi.
I have attached four images.
Original.jpg (297kb) is the original image Original.jpg
Resize_NConvert.jpg (409kb) - this is converted by NConvert Risize_NConvert.jpg
Resize_XnConvert.jpg (15) - this is converted by XnConvert Risize_XnConvert.jpg
Settings_XnConvert.jpg (73kb) - XnConvert ...
by agdabn
Tue Mar 02, 2021 9:18 pm
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

Thanks, I did a little bit of For /r work.

When I use XnConvert, the conversion result is fine with me.
Then I click on the "Export for NConvert" button.
I get the text that I paste into the bat file.
After executing the bat file, the conversion takes place, but the image is different from ...
by agdabn
Tue Mar 02, 2021 3:22 pm
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories



But I still can't figure out how to make a bat file

Simple: create a text file containing your code, then save it with a .bat extension, or do I misunderstand?

It can be useful when testing to add a 'Pause' instruction on a new line after the command line, then the CMD window remains open ...
by agdabn
Tue Mar 02, 2021 12:36 pm
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Re: Using different input and output directories

Yes, I use Windows CMD
Thanks for the link, I've seen this forum thread.
But I still can't figure out how to make a bat file
by agdabn
Tue Mar 02, 2021 9:57 am
Forum: NConvert
Topic: Using different input and output directories
Replies: 23
Views: 11447

Using different input and output directories

Hi, everybody
I use an online translator
Please help me write a bat file.
I have the necessary settings for nconvert:

nconvert -ratio -rtype lanczos -rflag decr -rflag orient -resize 500 500 -sharpen 50 -dpi 96 -clean 95

I need to start the bat file to convert all the files in the folder:

\\srv ...