From someone using foundry, please continue to use webp and webm… Foundry easily supports it and the file sizes are much smaller making them take up much less space on my server. And upload faster, and load faster for me and my players, and let me upload larger maps for my players as they render easier.
My god, yes. The .webp file format is consistently half the size of .jpeg and improves load times considerably.
Also, just use paint.net like a normal person. Or GIMP. Practically any image editor worth the name will let you save in .webp format and every browser can handle it.
The problem is rather the opposite of the meme. The file format is fine, but there is so little effort into making it happen.
If we were trying then I should be able to upload webp images everywhere. The most egregious is websites that will convert jpg and png uploads to webp but don’t allow webp upload.
webp isn’t fine, it has a ton of vulnerabilities because it’s not a safe file format. It gets to do too much and it’s insecure for that reason. That’s why you can’t upload your own webp but conversion to it is fine
it has a ton of vulnerabilities because it’s not a safe file format
Its a high compression image file, ffs. If someone sends you a 10 mb .webp file, that should be setting off alarm bells right off the bat. Even then, I have to ask what the hell your Windows Viewer app thinks it should be allowed to do with the file shy of rendering it into pixels on the screen.
All I’m hearing is that “its not safe” without further details. And given the utility relative to .jpeg, I’d like more on the table than just “Don’t do it! Unsafe!”
I agree the claim requires more evidence and it would be foolish to just take it at face value, but even if my intuition told me it was intrinsically safe I wouldn’t place any degree of trust in my own logical conclusions, or discount someone else’s warnings, however spurious.
The burden of proof should never be on the accuser when it comes to safety, in my opinion, or anything else of public concern. And the standard of proof should be higher to show that everything’s ok than to show that it’s not. At least in an ideal world.
I wouldn’t place any degree of trust in my own logical conclusions
Okay, but then why use .jpeg?
The burden of proof should never be on the accuser when it comes to safety
How does the .webp protocol demonstrate itself at least as safe as any other standard format? There’s no established safety standard for image protocols that I’m aware of.
It would be nice if mobile browsers/apps would convert them. When I save a webp and want to share it… Whelp, can’t do that - doesn’t even show up in the list of images.
Webp is superior to jpg and far smaller than png. Making a map tile that has transparency and is bigger than 20x20 grid squares leaves you the choice between a huge png or a tiny webp. VTTs like foundry have best practice guidelines re image sizes and formats and it is simply not possible to follow these using png unless the map in question is tiny, and if you ignore them and just go for a huge png your players may be faced with lag, longer loading times etc.
Only Apple supports this. Like, literally just Apple. I hate Chrome, and even Chrome doesn’t support this. Firefox? Yeah, zero support.
So for these reasons it’s 100% not viable right now. If you get the support, I’ll consider it for my websites, and tell my colleagues about it, though.
This is the source I used to originally validate my position: caniuse.com/jpegxl
Let me know if it’s incorrect, I’d be very interested to learn of new options for the web space as a developer. This said, I googled Firefox and it came back with only “experimental support” for what I think may be an alpha release (version number ends in “a”).
I think you still need to enable JXL in the config, but it seems to display just fine once enabled.
Adding support for JXL in windows was much more of a hassle and doesn’t always display properly in the file preview. Hopefully windows follows Apple’s step soon and adds native support.
I guess as a Web developer it won’t matter until the JXL toggle is enabled by default though.
Webp supports 24 - bit RGB w 8 - bit Alpha channel. It also has better lossless and lossly compression. And it handles transparency and animation better than other formats at a smaller size.
I think webp is great but every time I download a webp meme to send it to my Facebook-only friends, I have to take a screenshot of the image because for some reason messenger doesn’t recognize webp images. Like cmon Zuck why can’t you do anything good…
JPEG will never die. Too many things support it at a very basic level. A random CCD camera module on DigiKey probably has an option for direct JPEG output. An 8-bit Arduino will know how to take that JPEG and display it on a cheap 4" LCD screen off Bang Good.
Formats that sprawl everywhere like that will never, ever die.
Thanks. I remember Google news showing an article about them already deprecating webp but now I don’t see it. I wonder what format the article was about.
Akamai supports it as a transparent speed optimization for clients who want it. My employers website is fairly image-heavy and we use Akamai’s Image Manager to optimize images for us. The first time an image is fetched by their CDN they analyze it to optimize it for size, compression, and image type, and all the rendered versions are cached on their CDN. When a client requests the image Akamai will look at the characteristics of the device and serve the best optimized version of the image.
Not sure, but thy might. They’re constantly looking for ways to reduce traffic by even a couple bytes. They claim their servers see something like 30% of all web traffic, so if they can squeeze even a few bytes more out of something then it can have a pretty big impact overall.
One other thing they recently rolled out is a similar form of transparent support for Brotli compression. Many websites, CDN’s, etc. will automatically compress fonts, JavaScript, etc. using gzip if the client browser supports it (and most do). Brotli is a newer compression algorithm that sometimes is better than gzip, but not always. Many browsers now support Brotli as an option along with gzip, so Akamai will transparently convert gzipped items to Brotli, and if it generates a smaller file then they’ll serve that version to browsers that support it.
I’ve personally used webp for when I need lossy compression with alpha channel. What good alternatives are there? Png is not lossy and jpeg does not support alpha. Is JXL better than WebP? AVIF? JPEG2000?
WebP is also great for doing animations with transparency on mobile. Transparent video is barely supported and gif is terrible. WebP is really the only option
Add comment