html - Universal favicon file for all sizes on all platforms? -
i know there many devices uses favicon website in different ways...
on these favicon generator websites can easy put image there , website rest (generating several scaled images devices)
if want cover devices (apple, android, windows metro tiles, , more) have store 26 images (that same picture different sizes)
and have add 19 lines of html code refer devices images.
is there way use 1 file sizes?
i know ico-file can contain multiple dimensions of image. know svg-file doesn't depend on pixel resolution @ because it's vector based. (so svg can support every imaginable size)
i imagine implement sizes of image ico or svg file every device can pick it's optimal size.
is possible?
its not possible serve different sized pngs' in single file.
svg file best hope here but.. browsers today don't them
alternate option use tool manages process automatically.
i had same frustration you, came tool called makefavicon
it helps create multiple favicons predefined sizes , filenames @ desired folder, , creates config files such browserconfig.xml,manifest.json, partial view of head included relevant info.
i'm using part of visual studio build process , works seamlessly update these files on every build.
here's link example usage.
Comments
Post a Comment