For a special purpose I would like to use the command line to convert jpg-files to a lower jpg-quality.
I tested it and was supprised, that whatever quality-parameter I wrote (i.e. /jpgq=70) the file was saved with the original quality.
My research found the reason in the ini-file:
KeepQuality=1
which you can also see in the settings while saving jpgs ( Try to save with original jpg quality).
So changing this option to "KeepQuality=0" brought the expected result in saving per command-line.
I would have expected that a convert-parameter with a /jpgq-parameter would override this setting. Normally i want this setting (Try to save with original jpg quality) while working with the gui of irfanview.
Is there no way to override this setting in the command-line?
At the moment I can only see a solution in calling a separate ini-file with the command-line.
BTW:
I find it very confusing that the command-line changes the settings in the ini-file. So invoking irfanview per command-line always results in changed settings in the ini-file. I would expect that working per command-line has no influence on the settings of the gui.
Is there a way to stop this?
I tested it and was supprised, that whatever quality-parameter I wrote (i.e. /jpgq=70) the file was saved with the original quality.
My research found the reason in the ini-file:
KeepQuality=1
which you can also see in the settings while saving jpgs ( Try to save with original jpg quality).
So changing this option to "KeepQuality=0" brought the expected result in saving per command-line.
I would have expected that a convert-parameter with a /jpgq-parameter would override this setting. Normally i want this setting (Try to save with original jpg quality) while working with the gui of irfanview.
Is there no way to override this setting in the command-line?
At the moment I can only see a solution in calling a separate ini-file with the command-line.
BTW:
I find it very confusing that the command-line changes the settings in the ini-file. So invoking irfanview per command-line always results in changed settings in the ini-file. I would expect that working per command-line has no influence on the settings of the gui.
Is there a way to stop this?
Comment