1 |
On Mon, Jan 4, 2021 at 2:38 PM Frank Steinmetzger <Warp_7@×××.de> wrote: |
2 |
> |
3 |
> Hi all, |
4 |
> |
5 |
> this is not really a Gentoo-specific question, but some of you know your |
6 |
way |
7 |
> around stuff, so here goes. |
8 |
> |
9 |
> When I edit photos, I like to shrink and recompress them to save on space, |
10 |
> but not mangle them too much in the process to lose quality. So for |
11 |
average |
12 |
> images I tend to use a quality setting between 80 and 86, very bad shots |
13 |
> such as defocussed or blurred ones just 70. And for the really good ones |
14 |
> (crystal sharp, portraits, extraordinary motives etc) 90 and more. |
15 |
> |
16 |
> In the far past I’ve been using Gimp, but for some years now mostly |
17 |
Showfoto |
18 |
> (the editor from Digikam) due to its more useful photo enhancement |
19 |
features. |
20 |
> |
21 |
> However I noticed that the latter procuces larger files for the same |
22 |
quality |
23 |
> setting. So currently, I first save with a very high setting from Showfoto |
24 |
> and then recompress the whole directory in a one-line-loop using |
25 |
> imagemagick’s convert. I have the impression that it produces far smaller |
26 |
> files at the same visual quality. |
27 |
> |
28 |
> |
29 |
> Now I know that one can’t fully compare quality settings of different |
30 |
> encoders, but it started me wondering: which is really “better”? Or maybe |
31 |
> just a little more enhanced, or up-to-date from an algorithmic standpoint? |
32 |
> |
33 |
> Just because many distros and tools use libjpeg, that doesn’t mean it’s |
34 |
the |
35 |
> best one out there. Gimp, showfoto and convert use different encoders, |
36 |
> because compressing the same PNG with the same JPEG setting does not |
37 |
result |
38 |
> in three identical files. |
39 |
> |
40 |
> Does any of you have an opinion on that matter? |
41 |
> Cheers. |
42 |
> |
43 |
> -- |
44 |
> Gruß | Greetings | Qapla’ |
45 |
> Please do not share anything from, with or about me on any social network. |
46 |
> |
47 |
> What do you call a man with a seagull on his head? – Cliff. |
48 |
|
49 |
This topic comes up a lot with astrophotography. I took about 150 24M pixel |
50 |
shots last night. It uses a lot of disk space. |
51 |
|
52 |
From my reading - which isn't a lot - it seems to be technically superior |
53 |
to simply downsample the original and then compress with jpeg if you need |
54 |
to go that far vs using higher jpeg compression ratios on the original. |
55 |
|
56 |
I have no data to back this up and it probably depends a lot on your source |
57 |
material so YMMV but it's an option. |
58 |
|
59 |
HTH, |
60 |
Mark |