pixelfed / ideas

Issues board used for Pixelfed suggestions
8 stars 1 forks source link

Add WebP support #51

Open Booteille opened 6 years ago

Booteille commented 6 years ago

Since Mozilla and Microsoft announced they'll support WebP format in their browser soon, I think this would be a good thing PixelFed allows users to upload WebP files.

edit by trwnh:

lapineige commented 5 years ago

Maybe it would be good, as a compatibility feature, to create a copy of the webP image, converted in let's says jpeg, as an alternative if the browser doesn't support webP. For outdated browser (there are plenty of them) and Safari users.

lapineige commented 5 years ago

I'll copy this comment here : https://github.com/pixelfed/pixelfed/issues/536#issue-374551545

As this format is lighter than the other for the same quality, it could be nice to have an option to automatically convert jpeg/png/gif images to webP in upload. This would save storage space, bandwidth and conversion time for the author.

lapineige commented 5 years ago

Does that mean it's solved ?

lapineige commented 5 years ago

:up: ?

lapineige commented 4 years ago

@dansup sorry for the ping, but can you explain why this issue was closed ?

WebP is not supported, while this format would have many advantages. Is there any technical reason preventing PF team to implement that support ?

wakest commented 4 years ago

@dansup can this issue be re-evaluated?

lapineige commented 4 years ago

Nice to see this issue reopened, if you need any help to test this feature please ping me :)

For your information, here is the current state of browser support: https://caniuse.com/?search=webp Summary ~88% of all users can benefit from it, all majors browser use it (including Safari which until recently did not).

jeffmcneill commented 2 years ago

as mentioned in another issue, Instagram now supports WebP and it spits out that file type on export. This is at least one thing that makes the Import into Pixelfed broken. WebP is quite widely supported nowadays.