Skip to content

Updating Images from PNG to WebP #3185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GeekBoySupreme opened this issue Aug 1, 2020 · 5 comments
Closed

Updating Images from PNG to WebP #3185

GeekBoySupreme opened this issue Aug 1, 2020 · 5 comments
Labels
closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests)

Comments

@GeekBoySupreme
Copy link

🚀 Feature

Updating to WebP images instead of PNG

Have you read the Contributing Guidelines on issues?

Yes

Motivation

To improve the Lighthouse Score of Docusaurus, updating the images would lead to significant performance gains.

Pitch

WebP is a lighter image format that retains image qualities but helps to reduce the memory footprint. Smaller file size ensures less time for the page to load, thereby allowing faster performance benchmark in Lighthouse. Updating this one Image updated the lighthouse Score from 73 to 78.

@GeekBoySupreme GeekBoySupreme added feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers labels Aug 1, 2020
@Josh-Cena Josh-Cena added documentation The issue is related to the documentation of Docusaurus and removed feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers labels Oct 30, 2021
@JoelLau
Copy link

JoelLau commented Oct 3, 2022

hi, can i pick this up as part of hacktoberfest? i intend to convert all files to webp using tools such as https://github.com/hoipo/webp-converter-cli

@slorber
Copy link
Collaborator

slorber commented Oct 5, 2022

Hi

Docusaurus may have some pngs on its site but it's not a big deal, and users can use webp on their site if they want.

We also have process for resizing images and lambda to take showcase screenshots automatically

I'd prefer if we manage this ourselves instead of delegating to the community.

Also we may directly want to try using av1 as well in srcset if we want something optional

This issue is vague and has no clearly defined scope (ie which images exactly) so I'm just going to close. Please assume that we continuously optimize our own website and it's not really needed to suggest us to optimize more

@slorber slorber closed this as completed Oct 5, 2022
@Josh-Cena Josh-Cena added closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) and removed documentation The issue is related to the documentation of Docusaurus labels Oct 5, 2022
@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2022
@Josh-Cena
Copy link
Collaborator

The main issue we hit was that ideal-image does not support webp, or we would have converted them long ago. It's still on my todolist, though.

@PreventRansomware
Copy link

PreventRansomware commented Jan 22, 2023

Would love to get this one done please! webp images are not working in my build

@JerryI
Copy link

JerryI commented Aug 18, 2024

When it comes to animated pictures, webp is the only format in 2024, which gives decent quality/size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests)
Projects
None yet
Development

No branches or pull requests

7 participants
@slorber @JerryI @GeekBoySupreme @JoelLau @Josh-Cena @PreventRansomware and others