Results 1 to 2 of 2

Thread: /jpgq - Try to save with original jpg quality

  1. #1
    IV Amateur
    Join Date
    May 2006
    Posts
    13
    OS
    64-bit Win 10
    CPU Cores
    4

    Default /jpgq - Try to save with original jpg quality

    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?

  2. #2
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    Location
    East London
    Posts
    6,490
    OS
    64-bit Win 10
    CPU Cores
    1

    Default

    I did not test it, but i think that would be a bug. Batch conversion works as expected provided you set the correct JPG Options.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •