Home Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 19, 2024 - @901.38 (what is this?)
Forum activity rating: Three Star Posts: 46/1k.beats Unread Topics | Unread Replies | Own Posts | Own Topics | Random Topic | Recent Posts
News: :transport: :transport: More is More :transport: :transport:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Your opinion on the .webp format


« previous next »
Pages: 1 2 [3] Print
Author Topic: Your opinion on the .webp format  (Read 1883 times)
SignalWalker
Newbie ⚓︎
*


She/They

Matrix: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #30 on: June 15, 2023 @739.29 »

Within the web revival, most people don't actually like companies like Google, so why would they care if Google can save money by using webp?

Yeah, but they're also useful to people and not just corporations. IIRC, most people actess the internet through low-bandwidth connections (ex. mobile data), where image size can noticeably change load times. It also uses more electricity to process larger images, which can be important for things like solar-powered web servers.

Also, like, if you're saving stuff to your phone: storage is expensive! I've only got like 128 GB on my phone and those memes add up.

Or: imagine you're hosting a matrix server for your friends, and your VPS only gives you 80GB of storage (ex. Hetzner's $7/month tier) -- you gotta compress uploaded images somehow, or you're gonna run out of space.
« Last Edit: June 15, 2023 @740.93 by SignalWalker » Logged
Melooon
Hero Member ⚓︎
*****


So many stars!

SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

First 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!The Smallest Ozwomp Known To ManBug!
« Reply #31 on: June 15, 2023 @760.05 »

Yeah, but they're also useful to people and not just corporations
Of course, you gotta compress - but that's not really root of most peoples dislike of webp (Im im understanding the posts here correctly) - you can compress very effectively in many other formats; there are a few situations where webp can compress a little more than others, but at indie-scale that difference is usually negligible.

The issue with webp is that its created with compression for large company servers as its priority; its priority is not people. Thats why support for it on desktop image viewers and editors has been so slow and messy - we are not who these images are made for - and thats something thats worth being bothered by :ohdear:
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
div
Casual Poster ⚓︎
*


View Profile WWW

First 1000 Members!Joined 2023!
« Reply #32 on: July 01, 2023 @370.10 »

In general, if you're trying not to be mean,


I don't want to be mean, but I'm somewhat exhausted with people making up paranoid nonsense. There are plenty of real privacy violations for Google to be accountable for. These kinds of takes and not calling them out for being incorrect makes all of us privacy advocates look stupid.
Logged
div
Casual Poster ⚓︎
*


View Profile WWW

First 1000 Members!Joined 2023!
« Reply #33 on: July 01, 2023 @384.69 »

Most likely you understand my point, and we don't necessarily need to argue about it more if you don't want to.

To transition into something more positive... I wrote a PowerShell script that people can use to convert images.

I chose PowerShell because I'm assuming that most of you are using Windows and while I would prefer python myself, installing python and the needed dependencies is maybe a bit hard for some.

Basically save this to a file and name it "script.ps1"

Code
param (
    [Parameter(Mandatory=$true, Position=0)]
    [ValidateScript({Test-Path $_ -PathType 'Container'})]
    [string]$InputDirectory,

    [Parameter(Mandatory=$true, Position=1)]
    [string]$OutputDirectory
)

New-Item -ItemType Directory -Force -Path $OutputDirectory | Out-Null
$webpFiles = Get-ChildItem -Path $InputDirectory -Filter "*.webp" -File
foreach ($webpFile in $webpFiles) {
    $outputPath = Join-Path -Path $OutputDirectory -ChildPath ($webpFile.BaseName + ".png")
    $webpImage = [System.Drawing.Image]::FromFile($webpFile.FullName)
    $webpImage.Save($outputPath, [System.Drawing.Imaging.ImageFormat]::Png)

    Write-Host "Converted $($webpFile.Name) to PNG."
}

Write-Host "Conversion completed."

Then the way you use this is like this, from command line

Code
.\script.ps1 -InputDirectory "C:\path\to\input\directory" -OutputDirectory "c:\path\to\output\directory"

If anyone needs help with using this, I would be happy to help you and you will never have to deal with webp again :P

It's also true that this could probably be improved in a lot of ways, but I figured this is a good starting point for someone who wants to solve problems like this with scripts.
« Last Edit: July 01, 2023 @398.68 by div » Logged
Guest
Guest
« Reply #34 on: July 05, 2023 @906.71 »

I haven't had a big opinion on it until recently when I wanted to download an animated GIF and only got a static .webp... >:( I had to copy the link and paste it in order to share an animation!
Logged
Grimlock
Jr. Member ⚓︎
**


Harley | He/they |

SpaceHey: Friend Me!
StatusCafe: dinosaur
iMood: Grimlock

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #35 on: July 12, 2023 @419.93 »

webp's would be fine if support for them was actually implemented well instead of just putting them out there and making people deal with it, they cause you inconvenience unless you get extensions to auto convert them or just convert them manually every time. luckily its getting better nowadays but you still run into it sometimes
Logged

starbreaker
Sr. Member ⚓︎
****


is it any wonder that my mind's on fire?

SpaceHey: Friend Me!

View Profile WWW

First 1000 Members!G4 Club Member!Joined 2023!
« Reply #36 on: July 14, 2023 @993.51 »

I've been using WebP on my website because it appears to be supported in recent versions of all browsers except IE11 and I've gotten email from people saying that they visit my site using mobile phones on data plans that throttle after less than 2GB of transfer per month. I'd rather use AVIF or JPEG XL instead, but Edge doesn't support AVIF even though it's based on Chromium and no public-release browser supports JPEG XL.

I use ImageMagick to generate WebP from JPEG and PNG files; I find that it's easy to batch-process the images in a Makefile. But if you're on Windows you could also write a PowerShell script to run ImageMagick on a set of files.
Logged


rock operatic science fantasy and more...
(...all opinions mine unless attributed, and free to a good home...)
Pages: 1 2 [3] Print 
« previous next »
 

Vaguely similar topics! (3)

Theme Poll - Do you like the forum theme?

Started by MelooonBoard ⛄︎ ∙ Forum Info & Questions

Replies: 13
Views: 4956
Last post August 12, 2023 @742.86
by vvinrg
MelonLand Vivaldi Theme ♡

Started by MelooonBoard ⚛︎ ∙ MelonLand Projects

Replies: 6
Views: 1615
Last post March 05, 2023 @376.64
by doubleincision
how the Web should look like in my opinion

Started by lime360Board ☞ ∙ Life on the Web

Replies: 9
Views: 1261
Last post October 05, 2022 @59.61
by di

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP2


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi