Giter Site home page Giter Site logo

Comments (2)

atjn avatar atjn commented on June 9, 2024

Hello and thanks for the suggestion :)

According to Apple's developer documentation:

If there is no icon that matches the recommended size for the device, the smallest icon larger than the recommended size is used.

In other words, if you provide a very large icon, then Safari will automatically scale it down to fit the required size. Since pwa-asset-generator would also just scale the icon down if it were to provide smaller sizes, we might as well omit that step, and save the extra processing time and bandwidth, and let that happen on the device only when it is needed, and only for the exact size that is needed.

I think your suggestion of documenting this design makes sense, but given that Safari 15.4+ now supports standard web manifest icons, I think we are now looking at removing that part of the program entirely, and along with it its documentation.

from pwa-asset-generator.

atjn avatar atjn commented on June 9, 2024

In any case - it would be nice if users could define output image size themselves, so they could set-up some automation routines for everchanging OS requirements to avoid waiting for fixes from dev in cases such as this.

This feature is definitely being considered, although I am unsure whether it is actually necessary now that all browsers support the web app manifest, which allows you to serve a few standard sizes, and then let the device resize them as needed. This specific request is a duplicate of #446

from pwa-asset-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.