question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change avatar.png to an SVG if it saves us some bytes

See original GitHub issue

In https://github.com/mdn/yari/pull/2882 @peterbe moved the default fallback avatar image to assets 👍 - we can shave a few more bytes of if we convert the png to an svg.

_Originally posted by @schalkneethling in https://github.com/mdn/yari/issues/2877#issuecomment-777246551_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbecommented, Feb 11, 2021

Actually don’t. I looked at 10,000 user accounts and tallied how many have an avatar picture in their details, the numbers are:

google          1460 14.6%
persona         682 6.8%
github          7858 78.6%

google          100.0% has a picture
persona         0.0% has a picture
github          100.0% has a picture

So if you can figure out a way to sign in to Persona, and you haven’t uploaded a picture manually in your Edit Profile, the chances of a user NOT having a picture are extremely slim.

Close?

0reactions
ghostcommented, Feb 11, 2021

We missed an opportunity here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert Images from PNG to SVG for Free | Adobe Express
Convert PNG images to SVG with the Adobe Express free online PNG to SVG converter. Quickly and easily upload your PNG images to...
Read more >
Convert SVG to image (JPEG, PNG, etc.) in the browser
Save this answer. Show activity on this post. Svg to png can be converted depending on conditions: If svg is in format SVG...
Read more >
Vector Magic: Convert JPG, PNG images to SVG, EPS, AI ...
Easily convert JPG, PNG, BMP, GIF bitmap images to SVG, EPS, PDF, AI, DXF vector images with real full-color tracing, online or using...
Read more >
How to turn any image into an SVG for free. - YouTube
This tutorial will show you how to take a PNG or JPG image and turn it into a layered SVG for free. There...
Read more >
Using SVG | CSS-Tricks
You can change the size of it though just by selecting the img and changing its width or height , again like you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found