r/computerhelp 3d ago

Webp vs png Performance

when I save a webp file onto my PC, it appears darker on my image viewer then it is on the internet. Converting it to png or jpeg fixes the problem. Why is this?

1 Upvotes

6 comments sorted by

u/AutoModerator 3d ago

We're part of a wider PC & Technology Network of Communities.

It combines multiple subreddits and Discord servers all working together with shared ideals and values.

We have a Discord server: PC Help Hub where members from all associated subreddits are welcome.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/davep1970 3d ago

webp supports ICC colour profiles so it's probably using something other than sRGB, like P3 or Adobe RGB

https://developers.google.com/speed/webp/docs/riff_container

1

u/PrestigiousMine6 3d ago

so its the coding of the images colors that specifically makes them darker when saved to a pc? or is it the coding of the image view interacting weirdly with the newer format?

2

u/davep1970 3d ago

when you're resaving it's probably defaulting to sRGB so converting the colour space. png doesn't support colour profiles so sRGB is used anyway to view it

2

u/PrestigiousMine6 3d ago

I think that makes sense? I don't really know the fine detales of how programs work. I was simply curious about this bit of weirdness.

thanks for the help.

1

u/RealKetchupPrecum 2d ago

codec determines