-
Notifications
You must be signed in to change notification settings - Fork 23
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
Embedded pictures order in favicon.ico #135
Comments
I noticed in the imagemagick documentation (http://www.imagemagick.org/Usage/formats/#ico) the following:
So you just need to change the order of the command line to the equivalent of: Of course, that might fix the issue for Chrome on a Retina Mac and break it for others... As for Firefox, it's probably not related - doesn't it pick up the last size PNG declared in the section of your site? So swap the order so the 32x32 or 96x96 is last? |
Strobey is correct with regard to Firefox (at least on Mac) picking up the last declared image, thusly to get the best result in Firefox (tested in 38.0.5 for Retina Mac) was to place the 32x32 icon last:
Placing higher resolutions such as 96x96 or 194x194 resulted in jagged edges for my circular icon, apparently Firefox can't scale the image well. This raises the issue about non-retina screens. Using a 32x32 icon on non-retina may have jagged edges, where as a 16x16 icon on a retina screen would look blurry. |
Implemented in branch |
After running the tests with latest RFG's package and browsers:
I was a bit puzzled by this result so I created the 6 possible ICO files (16/32/48, 16/48/32, etc.) and tested with Chrome: it always takes the 16x16 icon. Not good. My feeling here is that the issue is more complex than what it sounds. So I keep this issue opened as it is and I will address the problem globally as another task. |
Deployed yesterday |
Currently, pictures embedded in
favicon.ico
are sorted by size (ie. first pic is the smallest one). However, on Mac OS with Retina screen, both Chrome and Firefox use the firstfavicon.ico
embedded picture. This generates poor result.The order of the embedded pictures should be reversed: highest resolution picture should come first.
The text was updated successfully, but these errors were encountered: