Results 1 to 4 of 4

Thread: JPG Specific Quality Target Batch

  1. #1

    Default JPG Specific Quality Target Batch

    I'd like to know if it is possible to target a specific jpg quality when doing batch conversion. I have lots of jpg with different quality, some are 60, 70, 90, 95, and 100 and I want the maximum to be 90, so I need a way to batch convert all the files to quality 90 BUT SKIPPING files that are lower than 90, because it would increase the file's size and I don't want that.

    I'd love irfanview (or even Windows Explorer) to have an option to sort files by jpg quality, that way I could just select those I want to convert.

    Thanks in advance!

  2. #2
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    East London
    64-bit Win 10
    CPU Cores


    No, there is no way to do that. The compression quality is estimated on loading the file. If the files are the same dimensions, there is a good chance that the largest files will have the highest quality/compression value of 90 or more, but you would have to check each one using the Information button, then move those files to a new folder or add them to a batch job.

  3. #3


    I see, that's unfortunate though, hopefully one day that feature could be added to a new release. Thanks!

  4. #4
    Power User j7n's Avatar
    Join Date
    Jun 2006
    IrfanView 4.51
    32-bit Win Server 2003 SP1
    CPU Cores


    If you have only a few specific quality presets that need conversion, such as 95 and 100, you could search for the hexadecimal strings of the quantization tables in a file manager, such as Total Commander. Unfortunately, it is not possible to search for a range of qualities, as the sequence 0101010101 representing highest quality also occurs in another place. The string to use is 4300.. followed by a sequence of small values.

    (There are more than 10 possible qualities above 90, some programs with their own codec, such as Photoshop, have different quantization profiles. But high quality always starts with 1s or 2s. The estimation works by pulling some kind of average sum of these.)
    Last edited by j7n; 12.08.2019 at 06:15 PM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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