jpeg-archive icon indicating copy to clipboard operation
jpeg-archive copied to clipboard

[ jpeg-recompress ] output has lower quality then expected

Open laszbalo opened this issue 8 years ago • 3 comments

Hi!

When I have ran jpeg-recompress with the following paramters:

jpeg-recompress --accurate --ppm --method smallfry --strip --min 60 --max 100 input.ppm output.jpg

I got:

Final optimized smallfry at q=94: 101.582809

However, if I check the output with identify -verbose, it says that the quality of the output is only 85. Also, when using other compression tools, I got a comparable file size at quality 85. Has anybody experienced this issue? With thanks, Laszlo

laszbalo avatar Jan 27 '17 22:01 laszbalo

Try looking at https://github.com/mozilla/mozjpeg/issues/181#issuecomment-118382243

szepeviktor avatar Feb 15 '17 04:02 szepeviktor

So, I guess we can close this...?

lfos avatar Dec 12 '17 17:12 lfos

@lfos Maybe a command line option should be added to store the actual q setting used. jpeg-recompress already adds a comment to processed images! I suggest to store the q value in the comment as well. Other than that, this issue can be closed IMO.

tssajo avatar Mar 16 '19 16:03 tssajo