You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose adding a new audit to Lighthouse that identifies images that could potentially be vector graphics and estimates the potential savings in file size and performance if these images were converted to vector formats.
What is the motivation or use case for changing this?
Many websites use pixel-based images for elements that are inherently vector in nature, such as logos, icons, and simple illustrations. Converting these to vector formats like SVG can significantly reduce file sizes and improve scalability, leading to better performance and user experience.
How is this beneficial to Lighthouse?
Reduced page load times and bandwidth usage
Improved scalability of images across different device sizes
Better overall performance scores in Lighthouse
The text was updated successfully, but these errors were encountered:
Using vector images is something devs should always consider, but outside of some advanced image analysis I don't see how we can recommend this on a case-by-case basis. I don't think we can do more than just mention this as a possibly strategy in our docs, which we already do.
Using vector images is something devs should always consider, but outside of some advanced image analysis I don't see how we can recommend this on a case-by-case basis. I don't think we can do more than just mention this as a possibly strategy in our docs, which we already do.
Yes, checking if an pixel image is an vector based image is a difficult task, and I’m also unsure which method or algorithm could solve this problem efficiently enough to be integrated into Lighthouse. However, I think this feature should be considered with further investigation because its benefits could be significant.
Perhaps this should be implemented on a different platform, where integrating some form of AI to solve this problem might also be feasible.
Feature request summary
I propose adding a new audit to Lighthouse that identifies images that could potentially be vector graphics and estimates the potential savings in file size and performance if these images were converted to vector formats.
What is the motivation or use case for changing this?
Many websites use pixel-based images for elements that are inherently vector in nature, such as logos, icons, and simple illustrations. Converting these to vector formats like SVG can significantly reduce file sizes and improve scalability, leading to better performance and user experience.
How is this beneficial to Lighthouse?
The text was updated successfully, but these errors were encountered: