Page 1 of 1

MP-Linux_BatchConvert Parallelized via ladon to use all CPUs

Posted: Sun Feb 22, 2015 9:28 pm
by oops66
Hello,
A simple request (option) for XnViewMP linux versions (and maybe windows too?) to have the ability to Parallelize via a tool like "ladon" to be able to use all CPUs (scripts are 4 more faster with a quad core here) to execute the XnviewMP scripts of BatchConvert (not only into one core).
I don't know if it is possible ?

PS: Ladon, or, GNU parallel, or as a substitute for xargs or cat | bash.
ex: Ladon
https://github.com/danielgtaylor/ladon#readme

# For example, I already use ladon with an other tool for .jpg - Re-compress JPEGs - Given the same visual perceived quality for a given image.
https://github.com/gunta/image-recompress
ex:

Code: Select all

ladon "Photos/**/*.jpg" -- jpeg-recompress DIRNAME/BASENAME.EXT DIRNAME/BASENAME_jpeg-recompress_001.EXT

Re: MP-Linux_BatchConvert Parallelized via ladon to use all

Posted: Wed Feb 25, 2015 2:36 pm
by xnview
i need to add this feature for batch convert...

Re: MP-Linux_BatchConvert Parallelized via ladon to use all

Posted: Wed Feb 25, 2015 7:27 pm
by oops66
xnview wrote:i need to add this feature for batch convert...
Yes (as option) ... 4 times faster is a good improvement ;-)
(maybe with the -p option, -p --processes Maximum number of processes [default: 4] to allow a custom choose: 1 or 2 or 3 or etc...) ?