JPEG XL

Info

rules 57
github 35276
reddit 647

JPEG XL

tools 4225
website 1655
adoption 20712
image-compression-forum 0

General chat

welcome 3810
introduce-yourself 291
color 1414
photography 3435
other-codecs 23765
on-topic 24923
off-topic 22701

Voice Channels

General 2147

Archived

bot-spam 4380

encode-params

_wb_
2021-05-09 06:03:45
Here you can discuss cjxl options and the results you get with them
2021-05-09 06:04:51
<@416586441058025472>
Scientia
2021-05-09 06:05:42
Maybe Fabian can make a size/quality graph with all his different options he tries
2021-05-09 06:05:58
He sure tries different options a lot so why not make a graph
_wb_
2021-05-09 06:06:25
(and then encode the graph with various options)
Scientia
2021-05-09 06:06:32
Yeah lol
monad
2021-05-09 06:07:22
Dedicated Fabian channel!
_wb_
2021-05-09 06:07:36
Well not just Fabian
Scientia
2021-05-09 06:08:40
you'd run out of storage
2021-05-09 06:09:05
actually no if you deleted the resulting file after
monad
2021-05-09 06:09:35
You don't need to give cjxl an output file.
Scientia
2021-05-09 06:09:54
can it still calculate a ssimulacra score?
_wb_
2021-05-09 06:10:18
Benchmark_xl is made for that kind of thing
Scientia
2021-05-09 06:10:38
ah
_wb_
2021-05-09 06:10:48
Does in-memory encode/decode and computes metrics
fab
2021-05-09 06:14:53
Basically a duplicate of benchmarks
2021-05-09 06:15:08
But still i prefer this
2021-05-09 06:15:34
Obviously i wont publish nothing as i dont have pc
_wb_
2021-05-09 06:25:14
Here are for example some results for the default encode params (just varying the distance and speed)
2021-05-09 06:25:25
https://old.lucaversari.it/jxl_results/sdr_plots_html/
2021-05-09 06:26:21
(this is for the encoder as it was in October 2020)
fab
2021-05-09 07:32:03
2021-05-09 07:32:38
We ll See if jxl will do at least this
2021-05-09 07:32:48
In Next two commits
2021-05-09 07:33:20
And in 4 month we ll know if jpeg xl is fake wp2 or a Very good codec
2021-05-09 07:33:32
04052021 has good Quality
_wb_
2021-05-09 07:36:42
What do you want jxl to do in two commits?
fab
2021-05-09 07:37:09
One good best ever Quality at d 1.053 s3
2021-05-09 07:37:19
Even with modular re encoding
2021-05-09 07:37:38
Second commit quantization in the style of wp2
2021-05-09 07:39:05
2021-05-09 07:39:53
3 commits and up ability to compress a sharper than original image done with 04052021 build
2021-05-09 07:40:15
Without blurring as you said
2021-05-09 07:41:03
Then i want to ask a question what gaborish=1 do in modular?
2021-05-09 07:41:48
An image sharper than original you can already do
2021-05-09 07:43:03
But an image with d 1.053 at low effort even with modular processing and an even new encoder still i doubt it will lead to good visual quality
_wb_
2021-05-09 07:47:33
Is the current -s 3 -d 1 not good enough visual quality?
fab Then i want to ask a question what gaborish=1 do in modular?
2021-05-09 07:49:17
It makes modular do the 3x3 convolution called gaborish, might help a bit for lossy modular though I have no idea if it really helps
2021-05-09 07:57:42
Lossy modular is not a great idea in general, it works but VarDCT tends to be better
fab
2021-05-09 07:57:52
But obviously you have a schedule
2021-05-09 07:58:15
And if jpeg tells to improve butteraugli you should do
2021-05-09 07:59:04
But the image should also have a bit of contrast even re encoded at d 1.053 s 3
2021-05-09 07:59:20
Washed out image makes bad impression
2021-05-09 08:00:48
Even if You initially sacrify higher distances tiny modular improvements are apprecciated
2021-05-09 08:03:04
.....
2021-05-09 08:03:31
Avif q18 and wp2 should be obsolete in july
diskorduser
fab And in 4 month we ll know if jpeg xl is fake wp2 or a Very good codec
2021-05-09 09:10:57
๐Ÿคจ
raysar
2021-05-09 09:46:15
I propose to elect <@416586441058025472> the new project manager of jxl project <:PepeOK:805388754545934396>
Nova Aurora
raysar I propose to elect <@416586441058025472> the new project manager of jxl project <:PepeOK:805388754545934396>
2021-05-10 04:57:00
He'll change the default font 5x a day...
monad
2021-05-10 04:59:12
You may have tested reencoding far more than anyone else, but I can't imagine it's generally efficient to encode to lossy modular, then VarDCT, etc, etc. Just encoding once to a suitable size/quality should preserve the most detail at that size most of the time.
fab
2021-05-10 05:15:53
here's how it looks with those
2021-05-10 05:20:42
the first one wa with the re encoding
2021-05-10 05:20:46
second one not
2021-05-10 05:20:51
latest build
2021-05-10 05:58:40
original
2021-05-12 06:37:47
Does the USAC standard supports as metadata and covert art/thumbnail a Jpeg XL faster decoding 4 file? Do you think they will support new JPEG? -d 1.541 -s 7 --epf=3 --gaborish=1 --noise=1 --intensity_target=210 --dots=0 --faster_decoding=4 the 50ยฐ commit: jpeg xl a1248445
2021-05-12 06:37:54
vs new commit that will be out at -d 1 or
2021-05-12 06:38:27
-d 1.756 -s 7 --dots=1 --patches=0 --gaborish=0
2021-05-12 06:39:06
on ytm screenshot it will improve
2021-05-12 06:39:21
but i'm looking how it compares with real jpg album art
2021-05-12 06:39:40
what parameter or commits is better to use
2021-05-12 06:47:32
raysar is prefering to not risk
2021-05-12 06:47:41
and he's right
2021-05-12 06:47:56
nobody that has experience in metrics
2021-05-12 06:48:03
has made measurement
2021-05-12 07:19:20
i'm testing some upscaling with new heuristics
2021-05-12 07:19:31
do not know if i should use reshade first
2021-05-12 08:53:20
for %i in (C:\Users\User\Documents\bil\*.jpg) do cjxl -j -q 98.36 -s 7 --progressive --faster_decoding=1 --use_new_heuristics --epf=2 %i %i.jxl
2021-05-12 08:53:46
jpeg xl is bad at blurring
2021-05-12 08:54:05
but the file is suprisingly low
2021-05-12 08:54:09
20 mpx only 2 mb
2021-05-12 08:54:50
we are to test encoders
2021-05-12 08:55:01
not to share images (upscaled ones)
2021-05-12 08:55:56
also i used reshade image enlarger v 3.0 portable to at max jpeg quality (it doesn't offer png) and i first scaled resolution to x4. the original images were from instagram 160 kb one
2021-05-12 08:56:29
still a few more artifacts, but in light they looks right
_wb_
2021-05-12 09:47:30
I don't think wp2 is aiming for standardization, at least webp isn't standardized.
fab
2021-05-12 09:50:34
it needs at least 6-8 upscaling for 50 kb jpg images
2021-05-12 09:51:00
problem is that i don't know a script
2021-05-12 09:51:13
and there isn't a GUI to do new heuristics
2021-05-12 09:51:38
orum talked about megapixel qt but it can't do re encoding
2021-05-12 09:51:40
only encoding
2021-05-12 09:52:05
xnview doesn't read currently new heuristics file
2021-05-12 09:52:15
it says convert 10 bit or something
2021-05-12 09:52:24
i don't understand
2021-05-12 09:58:41
on sasha plugin it works
2021-05-12 09:58:47
i have installed it
_wb_
2021-05-12 10:05:37
Maybe, but atm it is only saying the media type is image/webp and here are some URLs that informatively contain some information that may be describing the bitstream in some amount of detail.
2021-05-12 10:06:02
That's not quite the same thing as a standardized bitstream.
improver
2021-05-12 10:11:30
that's for webp1
2021-05-12 10:11:55
and it's not "standartized", it's only for media type registration
2021-05-12 10:12:14
https://datatracker.ietf.org/doc/html/draft-zern-webp-01
_wb_
2021-05-12 10:12:35
Yes, it's for webp1, and doesn't really talk about the bitstream itself
improver
2021-05-12 10:19:22
https://developers.google.com/speed/webp/docs/riff_container unsure if this is detailed enough and in the right format but maybe this can be called standard? tbh i dunno exact definition what makes something standard as opposed to documentation
Jim
2021-05-12 10:34:55
These days you just make up new names. We'll call it... docustandard.
_wb_
2021-05-12 11:06:49
The main thing is that a standard is normative, completely specifies a decoder, and cannot just unilaterally be changed by someone.
fab
2021-05-13 07:18:45
jpeg xl is compressing good at
2021-05-13 07:18:46
for %i in (C:\Users\User\Documents\xs3\*.png) do cjxl -s 6 -q 63.52 --epf=2 -p --gaborish=1 --patches=0 --dots=1 --use_new_heuristics %i %i.jxl
2021-05-13 07:22:18
what speed use for lossless
2021-05-13 07:22:23
to test parameters
2021-05-13 07:22:31
with which commands?
2021-05-13 10:32:47
2021-05-13 10:32:50
40 kb
2021-05-13 10:33:09
visually similar to original
2021-05-13 10:33:30
0.348 bpp and very fast speed, super low ram consumption
2021-05-13 07:18:31
<@!179701849576833024> what bpp gives usually this settings with the image dev use to test the codec?
2021-05-13 07:18:59
you said in reddit typical setting without new heuristics is 0.7 bpp
2021-05-13 07:19:04
and up to medium quality
2021-05-13 07:19:41
i got images in 0.170 bpp 0.370 bpp and 0.710 bpp
2021-05-13 07:19:45
so what is the average?
2021-05-13 07:19:52
i'm confused
veluca
2021-05-13 10:34:50
we usually go from ~1.5 to ~0.3 I think
fab
2021-05-14 07:52:53
for the setting i used or in general when testing the codec?
veluca
2021-05-14 08:45:45
In general
fab
2021-05-14 10:09:02
usually 720x540 33,2 kb is low quality and 87,1 kb medium quality and 600 kb great
2021-05-14 10:14:33
well 5 days after this channel was opened
2021-05-19 11:39:56
wp2
2021-05-19 11:39:57
-ps 5 -partition_snapping -uv_mode=3 -pass=7 -q 72.302 -effort 5
2021-05-19 11:40:40
original
2021-05-19 11:41:57
jxl old
2021-05-19 11:43:09
for %i in (C:\Users\User\Documents\bn2\*.jpg) do cjxl -j -s 6 -q 63.52 --epf=2 -p --gaborish=1 --patches=0 --dots=1 --use_new_heuristics %i %i.jxl
2021-05-19 11:43:39
new jxl
2021-05-19 11:45:51
new wp2 default
2021-05-19 11:47:42
this random comparison not a good one like the one scope does
2021-05-19 11:47:48
is not a benchmark
2021-05-19 11:54:15
......
2021-05-19 11:54:23
what does it change between av1enc and avifenc
2021-05-19 11:54:51
av1enc at q 81.9 should be very good
diskorduser
2021-05-19 12:15:30
What's a flicker test?
fab
2021-05-19 12:19:36
maybe switch between images
2021-05-19 12:19:45
in a flash
2021-05-19 12:19:57
you can search on google
2021-05-19 08:18:38
too generic
2021-05-19 08:23:04
or -vbr 19300 -rav1e preset 9
nmkd
2021-05-31 05:58:50
holy shit what is that font ๐Ÿคฎ
_wb_
2021-05-31 06:06:43
It has a late 1980s vibe
fab
2021-05-31 06:13:08
miriam libre is good enough
2021-05-31 06:14:31
noto sans lisu is good enough
2021-05-31 06:14:55
minaeff ect is bad
nmkd holy shit what is that font ๐Ÿคฎ
2021-05-31 06:15:32
https://github.com/fabiorug/Suduwe-font
nmkd holy shit what is that font ๐Ÿคฎ
2021-05-31 06:20:04
what fonts do you use
2021-05-31 06:20:37
for web browsing
nmkd
2021-05-31 06:24:15
system default
2021-05-31 06:24:19
idk why i would use anything else
2021-05-31 06:24:34
maybe Ubuntu, it's really nice, not sure what the Windows default system font is
2021-05-31 06:24:37
probably Segoe UI
diskorduser
2021-05-31 06:24:57
Yes segoe ui
2021-05-31 06:26:42
Guess this font <@416586441058025472>
fab
2021-05-31 06:27:12
product sans
2021-05-31 06:27:38
are you in a phone
2021-05-31 06:27:45
don't root the phone
2021-05-31 06:27:57
you damage it
diskorduser
2021-05-31 06:28:22
I'm using rooted Android for 11 years. No problems
fab
2021-05-31 06:28:22
how do you added the wallpaper?
2021-05-31 06:28:34
do you use a discord mod
diskorduser
2021-05-31 06:28:41
Yes
fab
2021-05-31 06:28:46
on android
diskorduser
2021-05-31 06:28:52
Yes
fab
2021-05-31 06:28:53
does it requires root?
diskorduser
2021-05-31 06:28:58
No
fab
2021-05-31 06:29:04
how is called
diskorduser
2021-05-31 06:29:17
Bluecord
fab
2021-05-31 06:30:02
do you have the wallpaper
diskorduser
2021-05-31 06:30:22
Yeah.
2021-05-31 06:30:52
fab
2021-05-31 06:31:49
was the original png?
diskorduser
2021-05-31 06:32:15
No. I made the blur and frosty effect
fab
2021-05-31 06:32:31
with an app or on pc
diskorduser
2021-05-31 06:33:00
With gimp or photoshop
fab
2021-05-31 06:33:14
how you edited the font
diskorduser
2021-05-31 06:34:11
fab
2021-05-31 06:34:28
this is system settings
diskorduser
2021-05-31 06:34:34
No
fab
2021-05-31 06:34:38
bluecord settings
2021-05-31 06:34:43
so discord don't support this
2021-05-31 06:35:01
discord don't support this
diskorduser
fab bluecord settings
2021-05-31 06:35:02
Yes
fab
2021-05-31 06:35:23
can you choose a custom font in suduwe
2021-05-31 06:35:26
like a ttf
diskorduser
2021-05-31 06:35:29
Yes
fab
2021-05-31 06:35:36
do you need root for that
diskorduser
2021-05-31 06:35:41
No
fab
2021-05-31 06:35:42
or google drive
diskorduser
2021-05-31 06:35:49
Just ttf file
fab
2021-05-31 06:35:58
because on my galaxy s4 i can't see font without google drive
2021-05-31 06:36:13
if i open file manager ttf and otf are blocked
2021-05-31 06:36:16
they don't show
2021-05-31 06:36:21
by default
diskorduser
2021-05-31 06:36:30
Use mixplorer (file manager)
fab
2021-05-31 06:36:53
i used on kiwi browser
2021-05-31 06:37:01
crx google web fonts
2021-05-31 06:37:18
can open miexplorer with that
2021-05-31 06:37:26
on a newer phone
2021-05-31 06:38:05
but to edit system font on all your system is possible
2021-05-31 06:38:12
or at least in the home
2021-05-31 06:38:19
do it needs root installed?
diskorduser
2021-05-31 06:38:54
My custom rom has inbuilt feature to change fonts
fab
2021-05-31 06:39:04
do you have a xiaomi
2021-05-31 06:39:05
oppo
diskorduser
2021-05-31 06:39:37
I have 3 phones. One iphone, one redmi and one plus
fab
2021-05-31 06:40:00
so this what model is
2021-05-31 06:40:02
xiaomi
diskorduser
2021-05-31 06:40:12
K30
fab
2021-05-31 06:41:06
only 6 gb ram
2021-05-31 06:41:12
is good to decode jxl
2021-05-31 06:41:21
like jpeg xl is superslow
2021-05-31 06:41:35
to load a lossless vardct it takes 8 seconds
2021-05-31 06:41:59
with newer builds is way better
2021-05-31 06:42:04
but still slow
2021-05-31 06:43:18
like 2019 this phone
2021-05-31 06:43:28
before 2021 6 gb of ram we hadn't in italy
2021-05-31 06:43:40
we have a redmi note 10 pro
2021-05-31 06:43:47
https://www.hdblog.it/schede-tecniche/redmi-k30_i4248/
2021-05-31 06:43:54
https://www.hdblog.it/smartphone/recensioni/n534800/redmi-note-10-redmi-10-specifiche-prezzi-prova/
2021-05-31 06:44:24
2021-05-31 06:44:45
could you say exact specs of your phone
2021-05-31 06:44:59
maybe your isn't redmi note 10 pro
2021-05-31 06:45:22
is yours 120 hz? 6,67 display 6 gb ram
diskorduser
fab to load a lossless vardct it takes 8 seconds
2021-05-31 06:51:47
No. Not that slow
2021-05-31 06:52:00
fab
2021-05-31 06:55:31
superfast
2021-05-31 06:55:50
like my computer is nothing compared to that
2021-05-31 06:56:04
yes but the ram used
2021-05-31 06:56:17
if you have a phone with 3 gb 3,5 gb of ram used
2021-05-31 06:56:22
you open youtube chrome or firefox
2021-05-31 06:56:33
and then gallery and you start scrolling jxl photos
2021-05-31 06:56:38
how it will act?
2021-05-31 06:56:47
like 8 gb aren't better?
2021-05-31 06:56:56
then you have 5 gb free
2021-05-31 06:57:03
or 4,6 gb free
diskorduser
2021-05-31 07:09:03
310mb to decode 1080*2400 image
fab
2021-05-31 07:10:21
what
2021-05-31 07:10:24
310 mb
2021-05-31 07:10:25
of ram
2021-05-31 07:10:40
to decode full hd image
diskorduser
2021-05-31 07:10:41
Yes
fab
2021-05-31 07:10:45
why so much
diskorduser
2021-05-31 07:10:54
IDK
fab
2021-05-31 07:11:10
you should decode 18 mpx at that ram
2021-05-31 07:11:31
ah lossless modular
2021-05-31 07:11:39
still a bit strange
2021-05-31 07:11:51
maybe say it to wb
2021-05-31 07:12:50
is there a benchmark tool to know ram usage
2021-05-31 07:13:37
.....
diskorduser
2021-05-31 07:13:39
Probably I have used wrong method to find memory usage (โ— โ€ฟโ—•)
fab
2021-05-31 07:13:45
john sans lite pro font
2021-05-31 07:13:54
good for photon interface
2021-05-31 07:14:27
like with corporate s in the bar is amazing
veluca
2021-05-31 07:14:45
working on it
2021-05-31 07:14:56
but djxl decodes to floats, that doesn't help
diskorduser
2021-05-31 07:16:30
What's the right procedure to find memory usage
2021-05-31 07:17:20
In terminal
_wb_
2021-05-31 07:31:22
You can do /usr/bin/time
diskorduser
2021-05-31 07:38:34
I previously used time command to measure memory. So it's okay I guess
2021-05-31 07:44:00
Using valgrind valgrind --tool=massif --pages-as-heap=yes --massif-out-file=massif.out cjxl -d 1 PXL_20210530_125021048.jpg ; grep mem_heap_B massif.out | sed -e 's/mem_heap_B=\(.*\)/\1/' | sort -g | tail -n 1
2021-05-31 07:44:28
Got the value - 4400201728 for encoding 16mp vardct d 1.
_wb_
2021-05-31 07:49:50
that seems a bit high overhead way to measure memory consumption ๐Ÿ™‚
veluca
2021-05-31 08:32:44
massif is not *too* bad
fab
2021-06-09 01:03:23
SCRIPTS FOR HIGH QUALITY FOR JPEG XL v0.3.7-31bbdcd7
2021-06-09 01:11:01
s 6 isn't high quality but at least you have epf 2 so less filtering
2021-06-09 01:50:35
i'd say
2021-06-09 01:50:36
-d 3,02577 -s 4 --faster_decoding=3 --use_new_heuristics
2021-06-09 01:50:46
this settings should be already better than webp
2021-06-09 01:50:59
for quality
2021-06-09 02:30:24
87,2 MB to 9,06 MB (9.501.135 byte) all with high compression 0,227 bpp at a quality better than webp jpeg xl is very efficient
raysar
2021-06-10 10:11:32
<@!416586441058025472> stop spamming stupid params: --faster_decoding=3 --use_new_heuristics
fab
2021-06-10 10:35:23
YES they are stupid maybe for compressing some screenshots of a phone
2021-06-10 10:35:44
but there is no use in such a bigger and long distance
2021-06-10 10:36:22
in other codecs i said codecs are improving
Jyrki Alakuijala
raysar <@!416586441058025472> stop spamming stupid params: --faster_decoding=3 --use_new_heuristics
2021-06-10 12:08:29
let's try to treat all approaches to improve compression with respect
2021-06-10 12:10:42
I don't agree with Fabian about benefits of --use_new_heuristics or the need for a distance value with many decimal points -- but I'd like to keep getting all signals and all critical voices, too, and opinions of those people who express the thinking that goes against our group-think
2021-06-10 12:12:54
IIRC, while I have not always been able to follow the written text, Fabian has brought up examples of chromacity issues that have caused me to change the format or at least the encoder
2021-06-10 12:14:24
The weight-lifting bells having grainy intensity losing saturation was an impressive and impactful example -- it could be that it was from Scope, Lee or Fabian, not quite sure whom it was from
fab
2021-06-10 12:14:53
i filed only an issue and it was about medium qualities
2021-06-10 12:15:07
there was a slightly chromatic aberattion
Jyrki Alakuijala
2021-06-10 12:15:07
that discussion was on encode.su
fab
2021-06-10 12:15:14
in the new heuristics
2021-06-10 12:15:16
12052021
Jyrki Alakuijala
2021-06-10 12:15:31
that one I haven't looked at
fab
2021-06-10 12:15:34
the image was a bit different from normal heuristic we have today
Jyrki Alakuijala
2021-06-10 12:16:10
new_heuristics is a WIP, i.e., not yet implemented as I envison it
2021-06-10 12:16:27
I think it needs 2-3 engineering months to reach parity with the old heuristics
fab
Jyrki Alakuijala that one I haven't looked at
2021-06-10 12:16:45
anyway it was solved two weeks ago and i closed it
Jyrki Alakuijala
2021-06-10 12:16:48
it can make the coding faster and less memory intensive
2021-06-10 12:16:50
cool
raysar
Jyrki Alakuijala let's try to treat all approaches to improve compression with respect
2021-06-11 06:30:20
I understand, it's cool to test and discuss here, the problem is: he doesn't make the effort to writing sentences and ponctuation and we don't understand what he say. It's not very respectful for us.
guesst
2021-06-25 05:20:00
Are additional channels implemented? (in the latest reference lib)
BlueSwordM
2021-06-25 04:42:29
My usual settings for high quality encoding in avif using aomenc for photographic images (SVT-AV1 below CPU-7 is not really useful) `avifenc -s X -j X --min 0 --max 63 -a end-usage=q -a cq-level=XX -a color:sharpness=2 -a tune=butteraugli -a color:enable-chroma-deltaq=1 -a color:qm-min=0 -a color:deltaq-mode=3 i.png o.avif` This necessitates a very recent version of aomenc, so might as well compile from source when compiling avifenc as well. 1. `-s X` = encoder speed. 99% of the time, lower is slower, but higher efficiency. My recommendation is 6 for speed, 3 for optimal quality. Anything lower is not very useful. 2. `-j X` = how many threads you let the encoder use. Above 1, this will activate row threading, with a small efficiency loss. 3. `--min 0 --max 63` is the minimum and maximum Q range used for the encoder per SB. Lets the encoder breath as much as possible. A smaller search space is faster, but lowers peak efficiency and quality. 4. `-a end-usage=q -a cq-level=XX` Chooses the "Quality" toggle, using quantizer modulation, with a certain quality level set by `cq-level` 5. `-a color:sharpness=2` Sets how much detail retention you want vs artifacts. 0 is the default, and a bit blurry. 1 deactivates some RD optimizations regarding artifact prevention. 2 is the highest I'd go, as going higher doesn't change much of anything, but provides the most detail/bpp. .6. `-a tune=butteraugli` changes the RD tune from psnr to butteraugli. You need to have a recent version of aomenc compiled with butteraugli support. Provides good detail retention and best color. A bit slower than PSNR tuning. Only works with 8b images(so no `-d 10`). 7. `-a color:enable-chroma-deltaq=1` Enables chroma Q variation per SB. Free quality increase. Not activated by default. 8. `-a color:qm-min=0` The default min quantization matrix flatness is 8, which is too high in my opinion: it restricts how low the quantizer can go per SB. May be less efficient, but provides a higher quality ceiling.
BlueSwordM My usual settings for high quality encoding in avif using aomenc for photographic images (SVT-AV1 below CPU-7 is not really useful) `avifenc -s X -j X --min 0 --max 63 -a end-usage=q -a cq-level=XX -a color:sharpness=2 -a tune=butteraugli -a color:enable-chroma-deltaq=1 -a color:qm-min=0 -a color:deltaq-mode=3 i.png o.avif` This necessitates a very recent version of aomenc, so might as well compile from source when compiling avifenc as well. 1. `-s X` = encoder speed. 99% of the time, lower is slower, but higher efficiency. My recommendation is 6 for speed, 3 for optimal quality. Anything lower is not very useful. 2. `-j X` = how many threads you let the encoder use. Above 1, this will activate row threading, with a small efficiency loss. 3. `--min 0 --max 63` is the minimum and maximum Q range used for the encoder per SB. Lets the encoder breath as much as possible. A smaller search space is faster, but lowers peak efficiency and quality. 4. `-a end-usage=q -a cq-level=XX` Chooses the "Quality" toggle, using quantizer modulation, with a certain quality level set by `cq-level` 5. `-a color:sharpness=2` Sets how much detail retention you want vs artifacts. 0 is the default, and a bit blurry. 1 deactivates some RD optimizations regarding artifact prevention. 2 is the highest I'd go, as going higher doesn't change much of anything, but provides the most detail/bpp. .6. `-a tune=butteraugli` changes the RD tune from psnr to butteraugli. You need to have a recent version of aomenc compiled with butteraugli support. Provides good detail retention and best color. A bit slower than PSNR tuning. Only works with 8b images(so no `-d 10`). 7. `-a color:enable-chroma-deltaq=1` Enables chroma Q variation per SB. Free quality increase. Not activated by default. 8. `-a color:qm-min=0` The default min quantization matrix flatness is 8, which is too high in my opinion: it restricts how low the quantizer can go per SB. May be less efficient, but provides a higher quality ceiling.
2021-06-25 04:44:20
9. `color:deltaq-mode=3` Default is objective Q variation per superblock(1), which is not optimal for intra-only psychov-visual quality. Very recently, a intra quality Q variation mode made for psycho-visual quality has been introduced, and it actuallys works well. **Extra**: for banding prevention without using grain synthesis, you can add in `-d 10`. Prevents the use of `-a tune=butteraugli` though. Combined with `-d 10` and grain synthesis(`-a color:enable-dnl-denoising=0 -a color:denoise-noise-level=5`), it makes it a strong encoder, even in challenging scenarios.
_wb_
2021-06-25 05:08:25
Thanks, this is very useful. I don't get why they don't enable most of these things by default. You need to be a Fabian-level commandline parameter tweaker to get the best results, it seems...
fab
2021-06-25 05:18:07
diskorduser
2021-06-25 05:19:58
Ah yes. The man page we need.
BlueSwordM
_wb_ Thanks, this is very useful. I don't get why they don't enable most of these things by default. You need to be a Fabian-level commandline parameter tweaker to get the best results, it seems...
2021-06-25 05:44:02
Some of these settings require additional compile times options(such as the butteraugli tune) and recent versions of aomenc(such as the tune butteraugli itself and the new deltaq mode: https://aomedia.googlesource.com/aom/+/c74dc0c588fd28b499d5bbb9230614cfc70d6a34)
Scope
2021-06-25 05:46:09
I think they are not enabled by default because AVIF (both libaom and rav1e) has no developer (or team) relating and improving exclusively still images, the main changes come from AV1 encoders In addition not all of these options have a significant impact on quality (at least according to my own tests on art and photos), with some I did not notice any difference or they were insignificant, some are not always better for a certain type of content or strong compression But for example I use these options quite often and their impact is quite noticeable: `-a sharpness=2 -a enable-chroma-deltaq=1 -a deltaq-mode=3` Also I encode mostly in 10bit (since the decoding speed was significantly improved in dav1d and it's supported by hardware decoders): `-d 10` and also `-a enable-dnl-denoising=0 -a denoise-noise-level=5`
BlueSwordM
BlueSwordM Some of these settings require additional compile times options(such as the butteraugli tune) and recent versions of aomenc(such as the tune butteraugli itself and the new deltaq mode: https://aomedia.googlesource.com/aom/+/c74dc0c588fd28b499d5bbb9230614cfc70d6a34)
2021-06-25 05:46:41
It also doesn't help that some settings come to preference. `--tune=ssim` for examples preserves detail better, but can butcher color performance, particularly in non-photographic images vs `--tune=butteraugli`, or the fact that the butteraugli tune only works in 8bpp. `--sharpness>0` biases the encoder towards better detail retention at the cost of artifacts. At super low-low bpp performance, that can actually hurt performance in some scenarios.
Scope
2021-06-25 05:57:20
Also, `-j 1` according to my tests is not always the best for quality, sometimes more threads can be better, for example I had this happen with `-j 4`, visually and by metrics and it also applies to lossless
2021-06-25 05:59:31
Although `-j 1` is safer for all images (especially if there is always something to encode in parallel), still `-j` with larger values is not necessarily worse
_wb_
2021-06-25 06:07:45
It is very inconvenient imo that it makes a difference to begin with
2021-06-25 06:08:32
I mean also for the pixels you get, not just for the filesize
2021-06-25 06:10:39
I can imagine that quality can improve in some cases, or get worse, and filesize probably always goes slightly up
2021-06-25 06:12:49
For lossless I imagine it's a bit like -g 1 vs -g 3 in cjxl: doing it sequentially is like -g 3 where prediction can go over longer ranges, while doing it in parallel is like -g 1 where more localized entropy coding can make it more locally adaptive, in a way
Scope
2021-06-25 06:19:07
Yep, I just mean that more threads does not always result in lower quality
_wb_
2021-06-25 06:26:21
Makes me wonder if they should add an option to emulate multithreaded encode in single-threaded encoding
fab
2021-06-26 08:11:07
2021-06-26 08:11:13
try to re encode avif
2021-06-26 08:26:52
........
2021-06-26 08:27:08
To have similar bitrates of AVIF with JPEG XL try those commands
2021-06-26 08:29:42
libjxl v0.3.7-169-g1f7445a win_x64 2021.06.26
2021-06-26 08:29:46
this should be good
2021-06-26 08:29:50
.......
2021-06-26 10:08:43
second pack of settings
2021-06-26 10:08:46
1920x1440 -q 54.14 -s 9 --epf=3 --use_new_heuristics --gaborish=0 1920x1080 -q 43.281 -s 6 -I 0.608 --epf=1 --dots=1 --gaborish=0 --patches=1 -p --use_new_heuristics 3840x2160 --faster_decoding=1 --intensity_target=293 -s 9 -q 45.943 --gaborish=1 ---patches=0 1280x720 -q 31.73 --faster_decoding=3 -I 0.89 -s 7 --use_new_heuristics -q 39.19 --faster_decoding=1 -s 6 --epf=3 --dots=0 1366x768 2560x1440 -q 32.888 -s 9 --faster_decoding=1 --epf=2 --dots=1 --gaborish=0 -q 46.96 -s 9 --faster_decoding=4 --720x540 resolution
2021-06-28 03:16:05
.....
2021-06-28 03:16:07
exclusive
2021-06-28 03:16:29
after -d 2.8 -I 1.5 --epf=0
2021-06-28 03:16:49
trying to encode chiara ferragni photo
2021-06-28 03:17:26
libjxl v0.3.7-171-gc12aec2 win_x64 2021.06.28
2021-06-28 03:17:31
https://eddiezato.github.io/bin/
2021-06-28 03:21:29
2021-06-28 03:24:52
should i also use noise 1
2021-06-28 03:24:58
yes why not
2021-06-28 03:27:50
maybe add new heuristics
2021-06-28 03:28:22
it doesn't work with noise
2021-06-28 03:29:32
help me
2021-06-28 03:35:17
did
2021-06-28 03:35:18
for %i in (C:\Users\User\Documents\9293\*.jpg) do cjxl -j -I 0.881 -s 1 -q 91.732 --gaborish=0 --use_new_heuristics %i %i.jxl
2021-06-28 03:35:23
file size is the same
2021-06-28 03:36:10
2021-06-28 03:38:26
the jxl photo looks like restored
2021-06-28 03:38:34
has lot less blocking
2021-06-28 03:38:59
maybe you could use libjxl v0.3.7-171-gc12aec2 win_x64 2021.06.28 with that exact settings and ditch knusperli
2021-06-28 03:39:26
but old things don't need to die
2021-06-28 03:51:33
facebook likely will use the most faster decoding it can get
2021-06-28 03:51:50
and want lower file size even on jpg input
2021-06-28 03:51:55
is a social
2021-06-28 03:52:15
social don't care if you see blocking or your eye sight or your images
Jyrki Alakuijala
BlueSwordM Some of these settings require additional compile times options(such as the butteraugli tune) and recent versions of aomenc(such as the tune butteraugli itself and the new deltaq mode: https://aomedia.googlesource.com/aom/+/c74dc0c588fd28b499d5bbb9230614cfc70d6a34)
2021-06-28 09:05:43
What are your experiences about the deltaq mode?
fab
2021-06-29 04:52:46
2021-06-29 04:52:54
encode this at -d 0.901
2021-06-29 04:53:00
when the new commit is added
spider-mario
2021-06-29 06:12:49
thatโ€™s a bit small, here is a larger version: https://images-na.ssl-images-amazon.com/images/I/81RynTwX7VL._SL1425_.jpg
BlueSwordM
Jyrki Alakuijala What are your experiences about the deltaq mode?
2021-06-29 06:32:38
deltaq-mode=1(default objective) works fairly well, but is not perceptually aware really. deltaq-mode=2(perceptual, but currently in placeholder since it is buggy) detalq-mode=3(perceptual for intra) works really well for intra images, and makes the rate control decisions based on block variance by doing a wiener filter pass to then decided to then allocate the bits in a well done psycho-visual manner.
Jyrki Alakuijala
2021-06-29 06:33:25
how does it compare with JPEG XL ?
2021-06-29 06:34:11
(I'm mostly interested around d1 - d2.5)
fab
2021-06-29 06:36:16
i want to try butteraugli with the version i captured
fab
2021-06-29 06:36:30
i want to try butteraugli with the version i captured
2021-06-29 06:36:35
butteraugli exe
2021-06-29 06:36:40
how to read the parameter
2021-06-29 06:36:47
i read it on a https://www.youtube.com/watch?v=r_LpCi6DQME
2021-06-29 06:36:57
that if the parameter is 2 it means is good
2021-06-29 06:37:13
and it should be less than 1
2021-06-29 06:37:31
could anyone send butteruagli.exe command
spider-mario
2021-06-29 06:44:42
``` butteraugli_main original.png compressed_and_decoded.png ```
fab
2021-06-29 06:45:15
and what value i should watch
2021-06-29 06:45:26
how to know if
2021-06-29 06:45:27
https://discord.com/channels/794206087879852103/840831132009365514/859476503275634728
2021-06-29 06:45:35
encoded at -d 0.901 -s 9
2021-06-29 06:45:38
is bad or not?
2021-06-29 06:45:53
if there is artifacts or not?
2021-06-29 06:46:04
i will use latest compile
2021-06-29 06:48:28
2021-06-29 06:48:38
which is the best
2021-06-29 06:48:55
i think butteraugli main because is a recent date
2021-06-29 06:49:05
can we know or we need the source?
2021-06-29 06:51:07
i would try also -q 79.49 -s 7 -p --epf=2 --dots=1 --gaborish=1
2021-06-29 06:51:56
i'd say jpeg xl is already 41% less than jpg
2021-06-29 06:53:47
tomorrow i will do
2021-06-29 07:01:20
deblocked one
2021-06-29 07:01:45
2021-06-29 07:02:35
is this extra ringing worth it?
Jyrki Alakuijala
fab i read it on a https://www.youtube.com/watch?v=r_LpCi6DQME
2021-06-29 07:07:21
he can google ms-ssim and psnrhvs-m, but not butteraugli ๐Ÿ˜ฆ
fab
2021-06-29 07:07:46
no he talks about butteruagli
2021-06-29 07:07:54
ah the pronunciation
Jyrki Alakuijala
2021-06-29 07:08:19
there is a small reversal there -- "buttergauli"
fab
2021-06-29 07:08:41
i say it butta-ragli
2021-06-29 07:08:54
butta r ay gli
2021-06-29 07:09:08
is not how dev said
2021-06-29 07:09:21
is too italian as pronunciation
2021-06-29 07:09:26
in english is different
Jyrki Alakuijala
2021-06-29 07:10:04
(-:
2021-06-29 07:10:21
he is a developer advocate, not a 'dev'
fab
2021-06-29 07:10:50
ok
Jyrki Alakuijala
2021-06-29 07:10:51
he wouldn't actually develop or even integrate compression algorithms, just talk about them and how and where to use them
fab
2021-06-29 07:11:15
i know is a chromium talk
2021-06-29 07:11:20
developer talk
Jyrki Alakuijala
2021-06-29 07:11:37
talking is also important of course
lithium
2021-06-29 07:22:54
wait... why he choose buttergauli distance 2.0? I think 2.0 is too risk, 1.6 probably more stable. > https://youtu.be/r_LpCi6DQME?t=1885
fab
2021-06-29 07:23:21
scope sent me a -d 0.901 -s 9 jxl
2021-06-29 07:24:04
maybe i will continue to watch the video
Jyrki Alakuijala
2021-06-29 07:24:18
butteraugli 2.0 used to be about 1.8 nowadays
2021-06-29 07:24:24
there has been inflation ๐Ÿ™‚
fab
2021-06-29 07:24:29
there is a b and a s
2021-06-29 07:24:32
what is p norm
2021-06-29 07:24:35
the b or the s
2021-06-29 07:24:55
0.9621142149 3-norm: 0.579190
2021-06-29 07:25:34
the difference is s is 60k
2021-06-29 07:25:39
what is s in that video
2021-06-29 07:25:41
is that SSIM
2021-06-29 07:26:12
lithium
Jyrki Alakuijala butteraugli 2.0 used to be about 1.8 nowadays
2021-06-29 07:33:31
I try to align all butteraugli distance, probably butteraugli (pik,guetzli) distance need plus 0.2 to align butteraugli_jxl distance? > Butteraugli, Butteraugli_pik, Butteraugli_guetzli > d0.19 q110 > d0.2 q101~q105 > d0.5 q95~q100 > d1.0 q94~q95 > d1.45 q90 > d1.6 q85 > d1.8 > d1.9 q80 > // minimal quality value for guetzli is q84 > // The scores above quality level 100 are just linearly decreased so that score > // for 110 is 90% of the score for 100. > > Butteraugli_jxl > d0.1 q99 > d0.3 q97 > d0.5 q95 > d1.0 q90 > d1.45 q85 > d1.6 q82.5 > d1.9 q80 > d2.0 > // Positive quality values roughly match libjpeg quality.
fab
2021-06-29 07:33:52
even the deblocked cover art looks awful
2021-06-29 07:33:57
to me don't look good
Jyrki Alakuijala
2021-06-29 07:34:17
I think divide by 1.1 or so
2021-06-29 07:34:54
I believe that in guetzli we calibrated guetzli and libjpeg with butteraugli scores
spider-mario
Jyrki Alakuijala there is a small reversal there -- "buttergauli"
2021-06-29 07:35:13
also โ€œ`butteragule.exe`โ€ in the slide
Jyrki Alakuijala
2021-06-29 07:35:42
In jxl someone came up with some values -- I don't think there was a calibration procedure, at least I don't remember us having one
spider-mario also โ€œ`butteragule.exe`โ€ in the slide
2021-06-29 07:36:57
It was slightly disappointing that they got the name wrong
2021-06-29 07:37:11
but they are busy people, they can only invest so much time in each effort
2021-06-29 07:38:02
he is 'senior staff' person, i.e., someone who could manage 10-25 people
2021-06-29 07:38:42
he did provide a lot of energy for the audience
lithium
2021-06-29 07:42:50
So butteraugli_old distance and butteraugli_jxl distance have some different quality(just noticeable errors) define?
Scope
2021-06-29 07:45:44
I would say the difficulty of remembering and pronouncing such names for many other languages and countries is also heavily impacted, it's fun to have unique and unusual names, but they may not always be convenient for most people Let's say a person wants to name his compressor or metric as Llanfairpwllgwyngyll (since he was born there, yes, it's not as ordinary and trivial as Zstandard for example, but it's much harder to remember, write and pronounce correctly)
lithium
2021-06-29 07:53:53
VMAF and av1 also have some psychovisual optimize like butteraugli just noticeable errors. > VMAF just-noticeable-difference > https://streaminglearningcenter.com/learning/mapping-ssim-vmaf-scores-subjective-ratings.html > https://streaminglearningcenter.com/codecs/finding-the-just-noticeable-difference-with-netflix-vmaf.html > av1 Just Noticeable Distortion (JND) > https://discord.com/channels/794206087879852103/805176455658733570/854652861442031616
_wb_
2021-06-29 08:01:25
What is a "just noticeable difference" when watching two videos in a row is not the same thing as a JND in still images
2021-06-29 08:02:29
VMAF is based on MOS scores for 23 video clips
2021-06-29 08:02:51
That's all the data that was used to make that metric
lithium
_wb_ VMAF is based on MOS scores for 23 video clips
2021-06-29 08:08:18
Only 23 video clips<:NotLikeThis:805132742819053610> I think I need use 3-norm on my av1 encoder test.
Jyrki Alakuijala
fab
2021-06-29 09:23:16
So, less ringing, more other errors (like smoothing)?
lithium So butteraugli_old distance and butteraugli_jxl distance have some different quality(just noticeable errors) define?
2021-06-29 09:24:20
There was a time when I forgot a 5 % normalization that I usually did, and the metric slip by 5 %
2021-06-29 09:24:44
I decided not to recover it to keep jpeg xl's internal testing values roughly in line
2021-06-29 09:25:06
also, 'how many pixels is the viewing distance' is what matters in the end
2021-06-29 09:25:33
screens are gaining pixel density, internet is getting faster, cameras are spitting out more pixels etc.
2021-06-29 09:25:56
so, I thought it was not that big of a sin and never corrected
2021-06-29 09:26:07
but I do believe the old guetzli-butteraugli is stricter
fab
Jyrki Alakuijala So, less ringing, more other errors (like smoothing)?
2021-06-30 05:35:13
the encoded one is in benchmarks and scope did at -d 0.901 -s 9 and is written the p norm
Jyrki Alakuijala
2021-06-30 10:47:13
p norm doesn't really indicate the ringing errors
BlueSwordM
Jyrki Alakuijala how does it compare with JPEG XL ?
2021-07-02 03:42:46
In photographic/realistic images: At low bpp, AVIF still wins, as while JXL has improved significantly at low bpp as well, AVIF using aomenc has improved a lot as well. Grain synthesis proves to be extremely powerful. AVIF is still recommended to use there. At mid-bpp, JXL still eeks out a small win, but AVIF has improved nicely in this regard and now has a lot more consistent performance, and puts up an excellent fight. However, it has one weakness: in 8bpc, banding in challenging blue-black skies for example is unavoidable unless you do stuff in 10bpc(16bpc processing). It even wins in some synthetic images. I'd recommend JXL, but if you only have access to AVIF for some reason, I now feel comfortable to say to use it. At high-bpp, JXL wins, but AVIF has improved there even more, although its weaknesses still apply, and the speed delta starts to get rather large at the image sizes I tested it... In drawn images: Low-mid bpp: AVIF using aomenc wins, hands down. JXL has improved a lot there, and its lack of chroma subsampling from RGB sources means it can eek out some small wins in low complexity images, but in higher complexity drawings, the ringing and blocking artifacts hurt it, and aomenc-av1's improvement in intra means it got stronger there as well. High bpp: There, the difference gets so small between AVIF and JXL that you're better off just using CJXL over any AVIF encoder. Lossless: **Don't**. Slow decode speed, and on-par/worse performance than WebP. Encode speed is mediocre-ok, especially with the SIMD improvements brought over to aomenc recently. A more detailed analysis of this will be coming in the article next week.
fab
2021-07-02 06:52:24
2021-07-02 06:52:41
Copy of bluesword comment
190n
2021-07-02 07:13:01
thank you fabian
fab
2021-07-02 07:23:05
you're welcome
Jyrki Alakuijala
BlueSwordM In photographic/realistic images: At low bpp, AVIF still wins, as while JXL has improved significantly at low bpp as well, AVIF using aomenc has improved a lot as well. Grain synthesis proves to be extremely powerful. AVIF is still recommended to use there. At mid-bpp, JXL still eeks out a small win, but AVIF has improved nicely in this regard and now has a lot more consistent performance, and puts up an excellent fight. However, it has one weakness: in 8bpc, banding in challenging blue-black skies for example is unavoidable unless you do stuff in 10bpc(16bpc processing). It even wins in some synthetic images. I'd recommend JXL, but if you only have access to AVIF for some reason, I now feel comfortable to say to use it. At high-bpp, JXL wins, but AVIF has improved there even more, although its weaknesses still apply, and the speed delta starts to get rather large at the image sizes I tested it... In drawn images: Low-mid bpp: AVIF using aomenc wins, hands down. JXL has improved a lot there, and its lack of chroma subsampling from RGB sources means it can eek out some small wins in low complexity images, but in higher complexity drawings, the ringing and blocking artifacts hurt it, and aomenc-av1's improvement in intra means it got stronger there as well. High bpp: There, the difference gets so small between AVIF and JXL that you're better off just using CJXL over any AVIF encoder. Lossless: **Don't**. Slow decode speed, and on-par/worse performance than WebP. Encode speed is mediocre-ok, especially with the SIMD improvements brought over to aomenc recently. A more detailed analysis of this will be coming in the article next week.
2021-07-02 06:13:21
Is the article going to compare JPEG XL and AVIF? Which versions are going to be used -- there is a substantial improvement between the 1.7. and 8.6. versions of JPEG XL
BlueSwordM
Jyrki Alakuijala Is the article going to compare JPEG XL and AVIF? Which versions are going to be used -- there is a substantial improvement between the 1.7. and 8.6. versions of JPEG XL
2021-07-02 06:16:08
Yes. However, do not worry. The written article is already done. The image and metric comparison part is the one that can be more easily modified. Basically, I've put off publishing the article multiple times because of both encoders improving nicely. Since I can't keep delaying stuff however, the latest aomenc and CJXL versions as of Friday will be the ones to take the cake.
Jyrki Alakuijala
2021-07-02 06:20:26
which organization do you work for?
BlueSwordM
Jyrki Alakuijala which organization do you work for?
2021-07-02 06:23:18
I do not work for an organization specifically, but I am a technical writer at a website called Chips and Cheese: https://chipsandcheese.com/author/blueswordm/
Jyrki Alakuijala
2021-07-02 06:28:58
that's cool
2021-07-02 06:36:05
I like your writing style, it is with your own opinions with justification and explanations on how you reached the conclusions, also I find it energizing to read
2021-07-02 06:36:16
then again, it is my favorite topic, so I'm probably easy audience
2021-07-02 06:36:55
the JPEG committee calls JPEG XL just JPEG XL, without a dash
2021-07-02 06:37:18
the devs call libjxl "libjxl"
2021-07-02 06:38:15
none of the 'inner circle', at least that I know, calls JPEG XL 'JPEG-XL', but I see it used by Google's developer advocates and the AVIF team
2021-07-02 06:38:48
for engineers there is some discomfort in names with spaces in them ๐Ÿ™‚
2021-07-02 06:43:13
ISO itself calls JPEG XL by its full name "JPEG XL Image Coding System (ISO/IEC 18181)", which is a bit too long for engineers' taste ๐Ÿ˜„
_wb_
2021-07-02 06:50:44
I mix JPEG XL and jxl
2021-07-02 06:50:54
Spaces are indeed uncomfortable
Jyrki Alakuijala
2021-07-02 06:59:24
yes, we have libjxl, jxl, image/jxl (I wanted to propose image/j -- but it was too much (too little) for the rest of the team), JPEG XL, and JPEG XL Image Coding System (ISO/IEC 18181)
BlueSwordM Yes. However, do not worry. The written article is already done. The image and metric comparison part is the one that can be more easily modified. Basically, I've put off publishing the article multiple times because of both encoders improving nicely. Since I can't keep delaying stuff however, the latest aomenc and CJXL versions as of Friday will be the ones to take the cake.
2021-07-02 07:00:32
last Friday versions (from the head) are a good choice
BlueSwordM I do not work for an organization specifically, but I am a technical writer at a website called Chips and Cheese: https://chipsandcheese.com/author/blueswordm/
2021-07-02 07:11:30
in some of the slowpic examples the original has darker shades than the rest -- do you know what is happening there?
2021-07-02 07:12:00
in WebP team's testing I saw that AVIF and WebP become lighter, but JXL is kept the same as the original in darker shades
2021-07-02 07:12:24
I suspect it may be different in different browsers, too
BlueSwordM
Jyrki Alakuijala in some of the slowpic examples the original has darker shades than the rest -- do you know what is happening there?
2021-07-02 07:12:27
I think the reason is that at the time, the ICC profiles weren't being transfered with cjxl for some stupid reason. It has since been fixed
Jyrki Alakuijala
2021-07-02 07:12:38
aah
2021-07-02 07:12:43
that would explain it
2021-07-02 07:13:08
I don't know if it would improve the low bpp performance when an ICC profile is not transferred
2021-07-02 07:13:54
I don't know if we just enumerate the ICC profiles in those test images, or if we actually brotli encode the ICC profile into the JXL stream
2021-07-02 07:14:16
if we do, and WebP and AVIF just don't, then we take a big hit in low bpp
2021-07-02 07:14:31
(probably not the case)
fab
2021-07-02 07:16:42
CJXL 0.3.2 encoder
2021-07-02 07:17:07
basically even at s 9 q 94.1 it introduced a lot of desaturation
2021-07-02 07:17:32
like i encoded screenshots with -s 4 -q 99.2 in 0.3.1 and it was only decent
2021-07-02 07:17:37
image have a lot of blocking
2021-07-02 07:18:04
cjxl 0.3.3 is when it starts to be decent even if butteraugli and psnr are worse it can get
BlueSwordM
2021-07-02 07:18:25
Uhh Fabian, I don't think any image encoded at q99/d 0.1, will look bad <:kekw:808717074305122316>
fab
BlueSwordM Uhh Fabian, I don't think any image encoded at q99/d 0.1, will look bad <:kekw:808717074305122316>
2021-07-02 07:18:38
that was 0.3.1
2021-07-02 07:18:55
you weren't in this server
BlueSwordM
fab you weren't in this server
2021-07-02 07:26:31
Fabian, I was here when 0.2.0 rolled out <:kekw:808717074305122316>
fab
2021-07-02 07:27:09
yes
2021-07-02 07:28:01
even at 10/02/2021 5th there is german
Jyrki Alakuijala
2021-07-02 07:35:08
many surrounding systems had bugs, too, like browsers have had ICC interpretation issues
2021-07-02 07:35:29
depending how the testing was done, the same image may look quite different for person A and B
2021-07-02 07:36:33
supposedly even today there can be desaturation issues on desktop firefox that go away with chrome -- one of my twitter followers reported today
raysar
2021-07-02 10:42:44
<@!532010383041363969> i don't find what is the default epf and gaborish value according to the distance quality. Can you help me?
veluca
2021-07-02 11:02:44
gaborish: always on
2021-07-02 11:03:44
EPF: see https://github.com/libjxl/libjxl/blob/main/lib/jxl/enc_frame.cc#L243 - 0 below 0.7, 1 between 0.7 and 1.5, 2 between 1.5 and 4, 3 above 4
raysar
veluca EPF: see https://github.com/libjxl/libjxl/blob/main/lib/jxl/enc_frame.cc#L243 - 0 below 0.7, 1 between 0.7 and 1.5, 2 between 1.5 and 4, 3 above 4
2021-07-03 07:04:19
Thank you ๐Ÿ™‚
fab
2021-07-03 11:35:51
I compressed the dog
2021-07-03 11:35:53
for %i in (C:\Users\User\Documents\imf3\*.png) do cjxl -q 71.459 -s 9 --epf=1 --dots=0 --use_new_heuristics --faster_decoding=6 -I 0.933 %i %i.jxl
2021-07-03 11:35:57
libjxl v0.3.7-202-gc8b0bf3 win_x64 2021.07.03
2021-07-03 11:36:04
2021-07-03 11:36:10
here's poor results
2021-07-03 11:36:15
black totally crushed
2021-07-03 11:37:46
pixelations and blurring everywhere
2021-07-03 11:38:42
curious what would happen if i choose q 57.71 e 5 in next wp2 commit
2021-07-03 11:39:00
jon probably not very curious
2021-07-03 11:41:08
to not kill your eyes
2021-07-03 11:41:10
for %i in (C:\Users\User\Documents\imf4\*.png) do cjxl -d 4.38 -s 4 --use_new_heuristics --faster_decoding=1 -I 1.4 %i %i.jxl
2021-07-03 11:41:36
2
2021-07-03 11:41:48
the image look natural now
2021-07-03 11:42:02
not very artificial or blurred quality
2021-07-03 11:42:58
ringing is visible in 29,39 43,48
2021-07-03 11:43:11
of the image what you expect is lossy
2021-07-03 11:43:23
lossy the aim is that not high fidelity images
_wb_
2021-07-03 11:55:22
What do those numbers mean?
fab
2021-07-03 11:55:59
like i tried 3 encoding those two and i had more ringing
2021-07-03 11:56:12
the first of those new 2 is blocked
2021-07-03 11:56:30
the second i increased I and the blocked hided in this sample
spider-mario
fab I compressed the dog
2021-07-03 11:58:42
poor doggo
fab
2021-07-03 12:06:20
58,5 KB (59.999 byte)
2021-08-08 03:47:57
2021-08-08 03:48:02
2021-08-08 03:48:03