this post was submitted on 26 Jul 2023
423 points (92.6% liked)

No Stupid Questions

35838 readers
1448 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

I don't know what a .webp file is but I don't like it. They're like a filthy prank version of the image/gif you're looking for. They make you jump through all these hoops to find the original versions of the files that you can actually do anything with.

Edit: honestly I assumed it had something to do with Google protecting themselves from image piracy shit

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (1 children)

It's lossless, it's meant for 2D and drawn graphics. Can't do that much with lossless compression.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

It's still bad compared to modern lossless algorithms. PNG is very old and even though PNG encoders have evolved, it is still fundamentally a decade behind modern lossless compression algorithms.

For example: JPEG XL in lossless mode compresses at least 30% better than PNG.

Also, PNG is not actually lossless in many cases. PNG only supports RGB colorspaces. If you try to store anything that's not in an RGB colorspace (e.g. a frame of a video) in a PNG, you will lose some color information as colorspace conversion is not lossless. Example of someone running into this issue: https://stackoverflow.com/q/35399677

JPEG XL supports non-RGB colorspaces so you don't have this problem.

[–] [email protected] 2 points 1 year ago (1 children)

Okay but that difference is not as critical as with jpg, which are also more abundant. The bigger problem with png is that people use it for things it's not meant or designed for - frame of a video being case in point.

If anything, it just proves how lacking we are in other image formats, when we keep shoehorning clipart formats like png and gif into other duties. Well not lacking as in not having them, but not using them.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

There's no real reason why you shouldn't use PNG for a frame of video. I'm not talking about using it as a video format, I'm talking about extracting a frame from a video and sending it off to an editor for inclusion in another video or image.

As a user, I would expect that I could use the most popular lossless image format if I want to losslessly share a frame from a movie with someone.

Of course I do agree that we need adoption of other image formats. We really should not still be cramming everything in PNGs or JPGs in 2023.

[–] [email protected] 1 points 1 year ago (1 children)

There is, exactly because png is made for strict rgb colorspace. Especially today when videos can be in HDR and with all kinds of color correction shenanigans, so which you won't get back once you try to put the PNG back into the video.

But I'm not a video editor, so I don't know what still format is best suited for this. I imagine real editors can deal with it, and for regular people who just make screenshots for memes, it's good enough. As I said, png is still a good enough format, but let's not use it for stuff like converting webp photos for further sharing.

[–] [email protected] 2 points 1 year ago (1 children)

I think we generally agree but I just want to clarify anyways. I'm not saying we should use PNG to store frames from videos.

What I am saying however, is that we should replace PNG with a modern lossless image format that is more flexible so users don't have to deal with these issues. All this colorspace stuff should be automatically handled and I shouldn't have to worry about it not being lossless. If I want to save a frame of video, I should be able to do it using an image format that everybody recognizes and accepts, it should not be a huge hassle and it should be fully lossless.

[–] [email protected] 2 points 1 year ago

Yes. The problem is getting developers/companies to support anything beyond than just the basics. There's enough formats that could work, but if the big players only support these formats, everything else is secondary. Just like many music players still play only mp3.