elegantapp / pwa-asset-generator

Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Human Interface guidelines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate more favicon sizes

husk-9 opened this issue · comments

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I use this program to generate favicons, but I only find favicon-196.png in the output

Describe the solution you'd like
A clear and concise description of what you want to happen.

Generate smaller sizes like favicon.ico, 16x16, 32x32, and 64x64

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Using external generators or resizing by hand

Additional context
Add any other context or screenshots about the feature request here.

None

I was thinking this as well. What would be the use case for those icons though? Wouldn't 192 and 512 check all of the boxes according to the readme of this project?

commented

As far as I know, browsers will at least download the 196x196 version of a favicon, just in case they need to display the icon in a larger box somewhere. Since they always do that, there is no reason to then also bloat the network connection with 64x64 and 32x32 versions of the image.

Thanks for the feedback folks. As @atjn mentioned, this is exactly the reason why we use a single size for favicons. Platforms already force us to bloat the apps we have with enough tags and images. So, unless it's absolutely necessary, I'm in favor of brevity in this area.