Hello!
JPG compression does not work in XNView Classic. I use 80 quality and batch processing. As the file size was too big, I tested different quality settings and always get the same file size, regardless of the setting (100 quality, 80, 60, 5...).
Is this a bug? What am I doing wrong?
JPG compression does not work
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 4134
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: JPG compression does not work
Sounds as if you have Use estimated quality (when possible) set in the save settings...LeanderAT wrote: ↑Sat Mar 14, 2020 10:31 pm Hello!
JPG compression does not work in XNView Classic. I use 80 quality and batch processing. As the file size was too big, I tested different quality settings and always get the same file size, regardless of the setting (100 quality, 80, 60, 5...).
Is this a bug? What am I doing wrong?
From memory, as I spend most of my time in Linux, on the Save as... dialog there is a button to bring up detailed save options.
-
- Posts: 4
- Joined: Sat Mar 14, 2020 10:27 pm
Re: JPG compression does not work
Thanks! However, I haven't ticked this setting.
-
- XnThusiast
- Posts: 4134
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
-
- Posts: 4
- Joined: Sat Mar 14, 2020 10:27 pm
Re: JPG compression does not work
Not really.
Progressive
optimaze Huffman...
Keep exif data
keep ...
keep ipc profile
renew embedded thumbnail
use estimated quality..
Progressive
optimaze Huffman...
Keep exif data
keep ...
keep ipc profile
renew embedded thumbnail
use estimated quality..
-
- XnThusiast
- Posts: 4134
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: JPG compression does not work
I have now tested using XnView 2.49.2 for Q91 and Q61 with the settings below, and the resulting file sizes vary as expected.
I'm afraid currently I can't suggest any explanation for the behavior you obtained, but possibly if you examine the detailed properties of the attached output files you identify an explanation.
If you are unable to resolve the issue you could test again using XnView MP, which in any case can be regarded as the future of XnView, or the stand-alone batch conversion software XnConvert...
I'm afraid currently I can't suggest any explanation for the behavior you obtained, but possibly if you examine the detailed properties of the attached output files you identify an explanation.
If you are unable to resolve the issue you could test again using XnView MP, which in any case can be regarded as the future of XnView, or the stand-alone batch conversion software XnConvert...
You do not have the required permissions to view the files attached to this post.
-
- Posts: 4
- Joined: Sat Mar 14, 2020 10:27 pm
Re: JPG compression does not work
It does not work. It does with the other two programs (XnView MP and Converter).
What quality setting would you recommend? How big should a photo be (file size, 880px height)?
What quality setting would you recommend? How big should a photo be (file size, 880px height)?
-
- XnThusiast
- Posts: 4134
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: JPG compression does not work
You have tested using the above exact settings with 2.49.2, although I'm not aware of any issue in other recent versions?
If it works for me and not for you there must be a reason, but I've no idea what it could be, possibly some confusion somewhere...
Note: I tested using the ZIP full download but that shouldn't be relevant.
It really depends on the purpose for which the image will be used, and how important file size is when there is a large collection of images.What quality setting would you recommend? How big should a photo be (file size, 880px height)?
For example, whether the image will be printed at a large size, or just be used as a small image on the screen, and whether a small number of images will be used, or the image will be part of an archive of thousands of images that must be distributed or downloaded.
Also, in my experience images with large pixel dimensions can often be saved with a surprisingly low quality setting without noticeable visible loss.
I would suggest that unless you have a reason to do otherwise, you save at Q80 rather than a higher setting.
-
- Posts: 18
- Joined: Tue Mar 03, 2020 7:28 am
Re: JPG compression does not work
JPEG is close to being perceptually lossless in a photo at about q 95 and no color subsampling (1x 1x 1x). Very clean, artificial images might require q 98. The useful range of the quality slider is between 90 and 99. The IJG scale is rather misleading with so many steps of extreme quantization, and subsampling being enabled by default in most programs. Photoshop only goes as low as about 60 on its 1-12 scale.
If the image already has low sharpness (due to being upscaled in the camera) or contains noise, then the additional degradation from JPEG might not be noticable at around q 90. At a height of only 880 pixels, your image will likely be viewed at a close distance and can't tolerate any quality reduction.
The file size at a given quality depends on the amount of detail (texture, noise) and whether that detail varies greatly in color.