danielgtaylor/jpeg-archive

[Discussion] Fine tune jpeg-recompress for lower size?

Opened this issue · 2 comments

This is more of a discussion than an issue, but since I don't find the discussion tab for this repo, I hope it's okie to post it here.

I'm trying to run the same image through jpeg-recompress and shortpixel:

https://www.pexels.com/photo/close-up-photography-of-woman-s-face-with-freckles-2709386/

The image is first resized to 2560x3840, then it's sent to:

  1. Shortpixel with lossy option (can be testing by uploading that image to lossy tab here: https://shortpixel.com/online-image-compression): result is 553KB image
  2. jpeg-recompress --quality high --min 70 --method smallfry: result is 1122KB image (almost double the size)
  3. jpeg-recompress --quality medium --min 70 --method smallfry: result is 793KB image

I wonder if I'm not setting jpeg-recompress to be aggressive enough?

Hard to say what quality you find acceptable.
I'd recommend getting WinMerge https://github.com/WinMerge/winmerge/releases/tag/v2.16.18 and checking the quality of the pics upon close zoom.

Hi all.

You can also use rdopt for similar purposes.
Discussion