10

When I post a link to an Amazon product page in chat, the Amazon logo in the onebox is very fuzzy:

Very fuzzy Amazon logo in chat

Can someone increase the resolution of the Amazon logo?

2 Answers 2

10

This icon is supplied by amazon.com at https://www.amazon.com/favicon.ico:

The favicon is to be displayed with the URL in the address bar, next to shortcuts, etc. It is nominally supplied as a 16x16 image, which explains the pixelation when shown at 48x48:

After some investigation:

The ICO format allows for supplying several resolutions in the resource. Downloading the resource at the URL I give above, it appears that amazon.com supplies a 32x32 pixel image and a 48x48 pixel image. Here is a PNG of the 48x48 image:

48x48 pixel amazon.com icon

The fuzzy 48x48 pixel image is simply accessed through an HTML IMG tag. As displayed by my browser, it seems to be scaled to 16x16 then to 48x48. This is probably how the resource is being accessed in chat. If it is to display the best resolution, the site will need to access the favicon data and pull out the appropriate image instead of simply using an IMG tag.


Update

The favicon data supplied by amazon.com is now given at 48x48. This bug no longer shows up (and the three images above look identical).

8
  • 1
    Your profile picture is horrible :<
    – Himanshu
    Sep 26, 2013 at 12:34
  • 3
    @hims056: thanks, I designed it myself. I'm sorry the mean square does not appeal to you.
    – robjohn
    Sep 26, 2013 at 12:37
  • 8
    Your profile picture is awesome.
    – Mike G
    Sep 26, 2013 at 13:18
  • @mikeTheLiar pfttt liar.
    – Cole Tobin
    Sep 28, 2013 at 1:53
  • @Glorfindel, I see the same image 3 times: i.stack.imgur.com/HLdt1.png
    – Qwertiy
    Oct 20, 2019 at 20:23
  • @Qwertiy: The favicon data seems now to be supplied by amazon.com at 48x48. This bug no longer shows up.
    – robjohn
    Oct 20, 2019 at 20:45
  • Yeah, this is a rather awkward edit by the script. I've rolled it back.
    – Glorfindel Mod
    Oct 21, 2019 at 7:03
  • @Glorfindel: I have updated the links and the answer since the bug no longer shows up because amazon.com returns a higher resolution favicon.
    – robjohn
    Oct 21, 2019 at 10:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .