RealFaviconGenerator / realfavicongenerator

Generate favicon for all major platforms
507 stars 23 forks source link

Large windows tiles generated from SVG not being used #338

Open evashort opened 7 years ago

evashort commented 7 years ago

When I upload an SVG image as the Windows Metro picture, Favicon Generator creates five image files:

mstile-70x70.png
mstile-150x150.png
mstile-310x310.png
mstile-310x150.png
mstile-144x144.png

But browserconfig.xml is as follows

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
    <msapplication>
        <tile>
            <square150x150logo src="/mstile-150x150.png"/>
            <TileColor>#da532c</TileColor>
        </tile>
    </msapplication>
</browserconfig>

As a result, Windows is not aware of the other images and the tile cannot be resized above "Medium".

I tried uploading a JPEG for comparison and in that case only one image file, mstile-150x150.png, was generated.

Incidentally, why is a 144x144 tile being generated? I don't see that mentioned in Microsoft's documentation

shoulders commented 6 years ago

I can confirm this. I leave the settings as default (i.e. just medium i think) and all MS tiles are still created when using a SVG as a source image.

kb3eua commented 3 years ago

I too am observing this same behavior. All 5 mstile images are being generated when my masterPicture is an SVG, regardless of the checkboxes I've selected. However, if I instead use a PNG as my masterPicture then my config is respect and the only mstile images generated are the ones I selected and nothing extra.

Also, this appears to be a duplicate of RealFaviconGenerator/cli-real-favicon#6

Axedyson commented 3 years ago

I'm experiencing the exact same behavior. My workaround solution is to simply just delete the extra mstile icons that are not declared in the browserconfig.xml file