Welcome Guest ( Log In | Register )

5 Pages V « < 3 4 5  
Closed TopicStart new topic
> Resample Archive Download is in webp instead of jpeg or png as original, Resample Archive Download is in webp instead of jpeg or png as original

 
post Nov 20 2024, 04:36
Post #81
jadoeman



Casual Poster
***
Group: Members
Posts: 108
Joined: 28-February 15
Level 212 (Lord)


QUOTE(Scumbini @ Nov 19 2024, 00:26) *
As for why they swung hard for it as opposed to JXL? I'll admit I have no idea. Haven't read up enough on it to formulate a schizo theory. :^)


I admittedly had never heard of JXL until people started mentioning it in this topic, which means most of my info is just going to come from stuff like the JPEG XL Wikipedia article:

"The Chrome team cited a lack of interest from the ecosystem, insufficient improvements, and a wish to focus on improving existing formats as reasons for removing JPEG XL support."

Which, I mean... Yeah, if nobody adds support for it, the ecosystem won't really be that interested. Catch-22. Part of the reason getting buy-in from big players to start with is so important. Either way, the reasons given are at least somewhat reasonable - and not mutually exclusive with the various conspiracy theory stuff either, so not much to glean. It could really be anything, so whatever someone's personal theory is could be right.

I actually find this more interesting, honestly:

"Mozilla expressed security concerns, as they feel that the rather bulky reference decoder would add a substantial amount of attack surface to Firefox. They expressed willingness to ship a decoder that meets their criteria if someone provides and integrates a suitable implementation. The JPEG XL team offered to write one for them in the memory-safe Rust language."

That's a rather... realistic concern. One entirely unrelated to the feature set of the format itself (ie if it's N% faster, N% smaller, lossless, etc). And if the (relatively speaking) brand new JXL decoding code were found to have an exploitable bug in it, that would be kinda a big deal.

Sure, that's Mozilla, not Google. But I guess my point is, the reasoning and discussion behind these kinds of decisions can be a whole lot more nuanced. (And why I find the immediate jump to schizo theories so amusing.)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 20 2024, 09:05
Post #82
Tenboro

Admin




In their defense, 100,000 lines of C++ really is a massive attack surface that would almost certainly hide multiple exploitable RCEs that would show up to bite them in the ass for years to come. So I can't blame either party for refusing to include that.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 20 2024, 09:47
Post #83
aklfhl



Casual Poster
***
Group: Members
Posts: 191
Joined: 8-February 14
Level 332 (Godslayer)


QUOTE(aklfhl @ Nov 19 2024, 01:49) *

Was it the Photos app or the legacy Windows 7 photo viewer? You should report to Microsoft so they can fix it if it's the former, but I don't think the latter is still supported.

Edit: Found [www.winhelponline.com] this.
It seems the Microsoft WebP Extension may cause images to be darker in the legacy photo viewer, the solution is to uninstall that and install Google's WebP Codec (instructions in that post).

Actually, I can confirm that the issue still persists in Windows 11 23H2, and replacing the Microsoft WebP Extension with the Google one did fix it.
I mean, I kinda get that the legacy photo viewer is discontinued, but shame on you, Microsoft.
Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 20 2024, 10:26
Post #84
-terry-



Veteran Poster
********
Group: Gold Star Club
Posts: 2,533
Joined: 9-August 19
Level 500 (Ponyslayer)


QUOTE(Tenboro @ Nov 20 2024, 08:05) *

In their defense, 100,000 lines of C++ really is a massive attack surface that would almost certainly hide multiple exploitable RCEs that would show up to bite them in the ass for years to come. So I can't blame either party for refusing to include that.

Its still a hugely complicated library, but 100k loc is a bs argument by Mozilla. It includes the encoder, jpegli, and everything else unrelated to the decoder itself in the reference library.
The google research team is working on a rust implementation now, which should make the people at Mozilla happy at least.

This post has been edited by -terry-: Nov 20 2024, 10:27
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2024, 03:31
Post #85
jadoeman



Casual Poster
***
Group: Members
Posts: 108
Joined: 28-February 15
Level 212 (Lord)


QUOTE(-terry- @ Nov 20 2024, 03:26) *
Its still a hugely complicated library, but 100k loc is a bs argument by Mozilla. It includes the encoder, jpegli, and everything else unrelated to the decoder itself in the reference library.
The google research team is working on a rust implementation now, which should make the people at Mozilla happy at least.


I mean, I didn't exactly download it and count lines. But that's literally what they said, [github.com] on the relevant Mozilla page - they said the "decoder" was "more than 100,000 lines". With the amount of numbers and formal dialog there, I would have to assume that if the figure was significantly wrong, someone would have corrected it.

Also another interesting thing (from [github.com] an earlier discussion in the same area):

"The difference is that the support cost (maintenance, attack surface, code size) for a video-derived codec is much lower, because browsers ship the associated codec already for video decoding. AVIF support in Firefox weighs in at about 1k lines of straightforward glue code. JPEG-XL is roughly 100k lines of multi-threaded C++."

So part of the reason the JXL decoder is so "heavy" is because it can't reuse someone else's homework like AVIF can.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 26 2024, 15:06
Post #86
aklfhl



Casual Poster
***
Group: Members
Posts: 191
Joined: 8-February 14
Level 332 (Godslayer)


Was about to reply https://forums.e-hentai.org/index.php?showtopic=281301 but that one got closed, so I guess I just put it here:

For MangaMeeya, there's a third-party plugin that adds WebP support: [toroidj.github.io] WebP Susie Plug-in
Or you can use the WIC plugin if you've already installed the [storage.googleapis.com] WebP Codec: [toroidj.github.io] WIC Susie Plug-in

Usage: Extract iftwebp.spi/iftwic.spi to MangaMeeya's SusiePlugin folder
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 27 2024, 13:00
Post #87
ShoukakuCoCi



Lurker
Group: Lurkers
Posts: 2
Joined: 3-July 18
Level 17 (Novice)


Webp performs poorly with images of real people, especially widescreen images.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 27 2024, 23:11
Post #88
nasu



さき★すかん
********
Group: Gold Star Club
Posts: 3,136
Joined: 13-June 16
Level 427 (Godslayer)


QUOTE(ShoukakuCoCi @ Nov 27 2024, 11:00) *
Webp performs poorly with images of real people, especially widescreen images.

Good job this is a hentai manga site then, huh.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 28 2024, 00:58
Post #89
Necromusume



(((Shark)))
*********
Group: Catgirl Camarilla
Posts: 6,761
Joined: 17-May 12
Level 500 (Ponyslayer)


It's not performing poorly, they really are 3DPD.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 28 2024, 01:09
Post #90
Foojack100



Newcomer
**
Group: Members
Posts: 59
Joined: 17-October 13
Level 354 (Godslayer)


QUOTE(ShoukakuCoCi @ Nov 27 2024, 04:00) *

Webp performs poorly with images of real people, especially widescreen images.


You just need to use sharp yuv while encoding. It increases encode time (negligible on modern computers) and file sizes by like 2-5%, but there's a very noticeable quality increase. Especial the more you lower the quality.

here's a random blog post on the topic:
[www.ctrl.blog] Enable the sharp YUV option for better WebP images
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 28 2024, 02:22
Post #91
werty101



Casual Poster
***
Group: Members
Posts: 102
Joined: 23-February 09
Level 244 (Godslayer)


QUOTE(ShoukakuCoCi @ Nov 27 2024, 06:00) *

Webp performs poorly

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 28 2024, 13:05
Post #92
james58899



Newcomer
**
Group: Members
Posts: 59
Joined: 25-February 16
Level 188 (Ascended)


QUOTE(Foojack100 @ Nov 28 2024, 07:09) *

You just need to use sharp yuv while encoding. It increases encode time (negligible on modern computers) and file sizes by like 2-5%, but there's a very noticeable quality increase. Especial the more you lower the quality.

here's a random blog post on the topic:
[www.ctrl.blog] Enable the sharp YUV option for better WebP images


webp always uses yuv420, which means that the color loss will be much higher.
If this option can reduce the color loss, it will definitely be worth it!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 10 2024, 12:03
Post #93
youaregreat



Lurker
Group: Lurkers
Posts: 2
Joined: 19-August 10
Level 149 (Ascended)


If we intended/prefer to read the 1280x resampled pic, that means we actually not really fussy about the quality. So why make this change compulsory and permanent?
Exaggeratedly, I smell technological autocracy lol

This post has been edited by youaregreat: Dec 10 2024, 12:19
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 10 2024, 12:08
Post #94
Shank



Roll for Initiative
**********
Group: Global Mods
Posts: 9,026
Joined: 19-May 12
Level 500 (Ponyslayer)


That isn't the case for guests/users without necessary perks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 11 2024, 06:32
Post #95
jadoeman



Casual Poster
***
Group: Members
Posts: 108
Joined: 28-February 15
Level 212 (Lord)


"Not being fussy" doesn't mean that's it's not a consideration at all. It's not binary, where you're either perfect lossless or you're everything else with all forms of lossy having equal merit. It's a sliding scale.

The goal obviously isn't "absolute best quality at 1280", otherwise we'd be using lossless. So it's a tradeoff between filesize and image quality. And according to the numbers given (whether this thread or others), the switch to WEBP was made because it simply provides a better tradeoff - higher quality at the same filesize, or lower filesize at equivalent quality.

A discussion can be had about support, with old browsers or unmaintained readers. A discussion can also be had on alternative similar formats, like JXL. Whether people will agree with you on those is another question, and Tenboro has seemingly made his stance pretty clear at this point, but at least it's a discussion to be had.

But comparing JPG on filesize/quality metrics to WEBP isn't really even a discussion. It's just a straight upgrade.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 12 2024, 05:23
Post #96
super_slicer



Lurker
Group: Lurkers
Posts: 1
Joined: 9-January 12


Jumping on the "I don't want new default image formats forced on me" bandwagon.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 17 2024, 09:06
Post #97
illyasviel21



Lurker
Group: Lurkers
Posts: 1
Joined: 7-March 10
Level 154 (Destined)


At least make an option to convert files in both original and resampled archives to any of the supported formats that includes jpg and png, before downloading. That way no one's getting mad over this tiny issue in the first place.
But if the guys in charge of e-hentai want to persist on their webp updates despite the valid criticism, then all you've been doing pushing this webp as the end-all-be-all format is gonna blow up in your faces sooner or later.

Don't say I didn't warn you.
(IMG:[invalid] style_emoticons/default/lurk.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 17 2024, 09:22
Post #98
Tenboro

Admin




I think we've heard enough about this. Final answers have been made.

/thread
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


5 Pages V « < 3 4 5
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 31st March 2025 - 11:59