public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Your opinion on jpeg encoders, please
Date: Mon, 4 Jan 2021 21:55:43 -0500	[thread overview]
Message-ID: <X/PVLy5DMITMAmnP@waltdnes.org> (raw)
In-Reply-To: <X/OKnhCvbi17X4mJ@kern>

On Mon, Jan 04, 2021 at 10:37:34PM +0100, Frank Steinmetzger wrote
> 
> When I edit photos, I like to shrink and recompress them to save on
> space, but not mangle them too much in the process to lose quality.

  Actually, shrinking *BY AN INTEGER NUMBER SHOULD IMPROVE QUALITY* as
well as saving space.  In Google look up the phrase...

photography binning adjacent pixel

  If you bin a 3840x2160 image by 2, you'll get a 1920x1080 result.  If
you bin it by 3, you'll get 1280x720 image.  The math is a bit
convoluted, but when you bin by a value of "n"...

* the information per combined pixel increases by a factor of "n"

* the noise per combined pixel increases by a factor of square root of "n"

  So the "signal-to-noise-ratio" increases.  The resulting image is less
noisey.  The tradeoff is that the new image is smaller than the original.
I use the imagemagick "convert" utility from the commandline, but any
capable image software should work.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


  reply	other threads:[~2021-01-05  2:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04 21:37 [gentoo-user] Your opinion on jpeg encoders, please Frank Steinmetzger
2021-01-05  2:55 ` Walter Dnes [this message]
2021-01-07  2:22 ` [gentoo-user] " Nikos Chantziaras
2021-01-07 17:12   ` antlists
2021-01-11 19:26     ` Frank Steinmetzger
2021-01-12  2:00       ` antlists
2021-01-12  8:24       ` Neil Bothwick
2021-01-12 18:54 ` [gentoo-user] " Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X/PVLy5DMITMAmnP@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox