decomp.me icon indicating copy to clipboard operation
decomp.me copied to clipboard

Favicon appears boxed in Google results

Open marijnvdwerf opened this issue 2 years ago • 1 comments

image

marijnvdwerf avatar May 16 '23 15:05 marijnvdwerf

The png used is this, which has a grey background: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAS1BMVEUoLzErMjUcLiBOI3FkIZGAGrvSjfvat/WaHuFDK13MiPTZ4NSwtq7r1/uSCNqPlo+VH9kuNTkxOD2tUuW2YOu7bOuIYKNcSHCudtFX/bu7AAAA2UlEQVR4AcXNBZIEIQxAUVyXDKH1/iddIDBetvrb+1Uq7H/j83ivLXp7HBJSSdGQXoiJuNDGOiVqylmjBScm9SF+JFBaK0gfMXjGiftNhnhJ4HLOkC4xyLm/3xFsyqNkAekvIRcKYCKAErw35r3Ldzl/hyh0fkiLu8lCg7qeNFpuyOQzSjYR+0pwy7pt65KhL8WJnK3LFkzombAtK+OIA1HsQ4bvAisi41iR36shq7E22PQ4zeg8yPhE5EywY68d9QWpieStJqUMHFYK/SotfMJm9w18S+Wbk59b+hlTT5ghBQAAAABJRU5ErkJggg==

I guess Google have done something with their formatting, as it's now in a circle:

image

So the question is: should the favicon just be the frog with a transparent (or white) background?

mkst avatar Mar 16 '24 22:03 mkst

I guess Google uses this image from the manifest:

icon

marijnvdwerf avatar Apr 02 '24 12:04 marijnvdwerf

Looks fine to me now, except for the low contrast of the image

bates64 avatar Apr 11 '24 16:04 bates64

HI @bates64 @marijnvdwerf I am willing to work on this issue. Could you please suggest what I can do to resolve this issue ?

Hi Shubhankar, I reckon the best thing to do is change the image in the manifest to have a light background. Then on Google it will look like the GitHub result that Mark posted. Feel free to join our Discord if you need help

bates64 avatar May 03 '24 08:05 bates64

Hi @bates64 @marijnvdwerf should I replace this code "src": "purplefrog-512.png" in the manifest.json code it with this image

68747470733a2f2f6465636f6d702e6d652f707572706c6566726f672d62672d3531322e706e67 (1)

Should generate a png from an svg to ensure its nice and crisp

mkst avatar May 03 '24 10:05 mkst

should i use general web tools to generate one from svg or there is any other method @mkst

frog-512-white frog-512-transparent

I'm not sure if they are going to be optimised by the upload process. So here's a zip with them in:

frog-512.zip

mkst avatar May 03 '24 10:05 mkst

Ok so i will replace the "src": "purplefrog-512.png" with this white background image in manifest.json @mkst

Sounds good to me!

mkst avatar May 03 '24 15:05 mkst