[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now open. Apply here!


[Advertise on 4chan]


File: jxl_vs_webp.png (904 KB, 2560x720)
904 KB PNG
Does anyone else feel like we're being too hard on WebP? It's not great at photographs but it seems to compress Anime images just fine. Sometimes even better than JXL.
>>
File: hey_hey.png (1018 KB, 1280x720)
1018 KB PNG
>>108983053
Source image is picrel.
>>
isnt jxl mostly for hdr
I think avif is the future since it compresses hdr images well
>>
>>108983053
Shouldn't use the same extension for both lossy and lossless compression.
>>
>>108983072
dunno but webp came out in 2008 so it has the fastest decode performance compared to JXL and AVIF which is why it won't die.
Downside is that it seems to suck for photographs. I'm not really here to shill for Webp so I'll post comparisons here for that too.

>>108983088
Lossy PNG images exist mein fuhrer. Extension guarantees nothing.
>>
>>108983095
Indexed color isn't quite the same thing, but, fair.
>>
Sort of, most people are just mad a lot of software / websites don't support it.
>>
>>108983072
I thought the main thing was it could compress jpg losslessly and at a higher ratio.
>>
File: jxl_vs_webp_2.png (1.46 MB, 2560x501)
1.46 MB PNG
Proof that I'm not a WebP shill. It's subtle but WebP turns photographic images all plastic-y.
Interestingly VMAF failed to predict that WebP was inferior which is why mutli-metric results are the best.
>>
File: River-Kwai-1957.png (1.41 MB, 1280x501)
1.41 MB PNG
>>108983351
picrel = source
>>
>>108983109

Lossy PNG does not necessarily mean indexed color.

Let me introduce a useful tool: https://github.com/richgel999/rdopng

When you don't want to compress an image to JPEG (because that image has some transparent areas) or to WebP (because WebP is not supported on an imageboard, like here, or because an image's height is larger than 16383 pixels and thus won't fit in WebP), then lossy PNG is your answer until AVIF becomes supported.
>>
>>108983166
Literally the only actual reason it's hated. No one would have any issue with WebP if it just worked like JPG/PNG. Though, I think it's mostly a non issue these days. 90% of things people use seem to support it now, thus complaints are far lower than they used to be.
>>
>>108983053
An image format supports everything or it’s worthless
>>
File: 1472489645000.jpg (111 KB, 555x555)
111 KB JPG
>>108983053
I work with images, like textures and assets.

I have literally converted all my png files to lossless webp
they can be from 25%-70% smaller in size, so big win.

all the programs I use support webp, and all the web shit supports webp also,
so I can just send some normie a webp file and their browser will display it just fine

>now that I think about it, everything supports webp

so who dislikes webp?
personally I think it is dumb people,
or faggots who keep using windows 7 that doesn't show webp previews in explorer or something
>>
>>108983053
You can thank the cancer, arbiter of regression that is Apple, for that
>>
>>108985111
>people use explorer
Gross.
>>
>>108985111
>so who dislikes webp?
>personally I think it is dumb people,
You are the dumb people. You are using WebP as a more efficient PNG. 99% of WebP in the fucking wild is a CDN recompressing an already twice compressed JPG or something into a 6 KB WebP.
>>
>>108985448
anon do you have a dent in your head?
seriously, do you know how to read

I said that converting PNG to WEBP lossless is helpful
and here you are being an absolute retard spewing irrelevant things.

yes the web compresses everything you upload to webp. and?
what does that have to do anything with working with assets?

are you seriously so fucking stupid? off your meds?
why are you being so emotional?

also who the fuck cares about recompressed webp in the wild?
give me a fucking argument.

anyone serious with working with images and assets would never download a lossy image file
to use on their projects, and when I do send some webp to colleagues or clients I always put '(lossless)' on the filename and I have to explain to those normies that yes webp does come in a lossless variety.

anyway, you are being an emotional faggot
be better
>>
File: 1753469325587600.png (179 KB, 690x784)
179 KB PNG
>>
>>108983053
Now encode an image of a picture of a real person if you even know how real people look retarded faggot
>>
>>108985717
see >>108983351
>>
>>108985111
>so who dislikes webp?
People that need more than 8 bit.color depth and resolutions higher than 16383x16383 pixels, and people that want high quality lossy compression (lossy WebP always uses 4:2:0 chroma subsampling, which sometimes causes significant artifacts, and the only available encoder still doesn't have great psychovisual optimization, leading to blur and loss of detail).
>>
>>108985111
I just did a lossless compression of >>108983356 and I honestly expected JXL to achieve like 30% better compression but I only got 14% better compression.
It's a little disappointing desu.

599 KB
cwebp -lossless -m 6 -q 100 in.png -o out.webp
https://files.catbox.moe/wsp9wp.webp

514 KB
cjxl in.png out.jxl --brotli_effort=11 -e 10 -d 0
https://files.catbox.moe/bcmi70.jxl

Maybe I'm using the wrong settings in cjxl? If so can anyone tell me what the correct ones are?
>>
>>108986085
>lossy WebP always uses 4:2:0 chroma subsampling, which sometimes causes significant artifacts
This is somewhat mitigated with -sharp_yuv in cwebp but AVIF's implementation is often so much better that it curb stomps JXL sometimes.
It's fascinating how much extensive human work has gone into destroying 75% of color information in an image but then rebuilding it back up again...
>>
>>108986153
-sharp_yuv is only slightly less terrible.
>>
>>108987030
Meanwhile, JPEG.
>>
File: chroma-444.png (12 KB, 1280x720)
12 KB PNG
>>108987038
And here's the original.
>>
>>108985111
>I have literally converted all my png files to lossless webp
Same. I think overall, I saved like 1/3 of the space. Most ppl could probs save slightly more than me tho, as my PNGs had already been optimized with optipng at max settings.
>>
>>108987665
nice
>>
>>108985573
lol
>>
png or death
>>
>>108989924
so do you also store all your music files in .wav

like 650 megabytes for an hour of music?
so you throw away 25+ years of research on data compression.

either too fucking stupid and uneducated or a massive faggot.
>>
lotta trannies on /g/ tonight.
>>
>>108983053
no, webp is a halfway measure
sure, it has a niche where it shines, but it's a dogshit format to completely overhaul the extremely well-established formats of jpg and png
webp isn't a universal format, if you want to use it everywhere then you can't you'll still need other formats
jxl, however, is universal
>>
File: Untitled9.png (544 KB, 1424x1244)
544 KB PNG
>>108990002
>jxl, however, is universal
Not objectively. It's great overall but not universal since it has a higher decode complexity compared to Webp so it doesn't play nice with all devices.
>>
>>108990002
Subjectively picrel should be made illegal. It and many others like it are singlehandedly keeping humanity technologically immature.
>>
>>108983053
you will use jpg/jpeg and png/bmp, or gif/webm

conform or die

>muh lossless
idc
conform or die
>>
>>108983053
no
fuck webp
shit always forces me to convert it to png. pain in the ass. just use png. I don't give a fuck if it uses slightly more data to store fuck you if you want to save space use jpg don't use fucking webp fuck you I hate everyone that uses webp
>>
>>108983053
>compress Anime images
that's a retarded metric to use considering that anime images have very low entropy to begin with
>>
>>108985724
those are chinks
>>
>>108990057
But decode complexity suddenly isn't a problem at all for AVIF, right shill?
>>
>>108983053
WebP is great for lossless compression if you don’t need HDR or a couple other rarely-used features
I can’t be bothered to get a good opinion whether it’s good at lossy compression, though
>>108985111
I get annoyed because 4chan doesn’t support it as an upload option
>>
>>108990738
By that logic JXL is utter garbage if it results in poor compression of low entropy images.

>>108990742
Look at the date on the calendar you hillbilly.

>>108991574
It IS a problem but because AVIF and AV1 files are pretty much the same then devices that have HW support for AV1 also have it for AVIF.
However one nasty catch is that baseline HW support, AFAIK, will limit AVIF images to a max resolution of 4096x2160.
Meanwhile WebP has a max resolution of 16,383 x 16,383 but does not support HDR images like AVIF.
AVIF also has terrible lossless compression compared to Webp.

So AVIF is a bit of a mixed bag when you look at it objectively. JXL is the bridge between the downsides presented by WebP and AVIF but isn't as universal as Webp, objectively speaking.
>>
>>108983053
p
>>
kys retarded ass autist
no one is zooming in 300% on their screens to see differences between image formats



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.