Comments (2)
Hey @justingolden21, thanks for your feedback. It's not possible to generate only one icon at the moment.
That will be most likely possible with the next major version of the library which will provide flexibility for the images you need as an output.
Can you please share more details about your use case of using multiple inputs? That can also be considered in the redesign.
from pwa-asset-generator.
Thanks for the reply and for considering that for future releases : )
I have a manifest and shortcuts for each item which contain icons. Those icons are currently SVGs and I like how pwa-asset-manager handles rendering svg icons dynamically and I already use it in my project, so I figured I would use it for this (fairly similar) purpose.
A few ideas for potential ways to input multiple files:
-
a file path and it checks for all images or images of a specific type in that folder
(Could also match a regex) -
a list of file paths (can be a lot of many files and long file path, but easiest to implement and understand)
-
a file path followed by list of file names inside that directory
from pwa-asset-generator.
Related Issues (20)
- No splash screen shown
- `--no-sandbox` doesn't work, but `-n` or `--noSandbox` does
- error trying to generate assets
- How can I generate only a favicon.ico?
- script tags are reformatted which breaks CSP sha hashes
- Consider supporting `resolution: Ndppx` media query instead of `-webkit-device-pixel-ratio: N`
- Add monochrome icons for Android
- Splash screens for current 10.9” iPad and iPad Air not generated HOT 1
- Custom device configuration
- Add more sizes for apple-touch-icon HOT 2
- Splash screen not generated for 6th gen iPad mini HOT 1
- Put custom iOS support behind a flag HOT 3
- Next major versions of PWA Asset Generator
- Allow background images HOT 5
- splash screen resize missing Aspect-mode fill, which auto crops the image into different sizes HOT 1
- splash screen generation supports background image with crop mode HOT 1
- generateImages() function does not return a Promise
- The contents of links' href attributes are encoded
- When running with -p "0px" option I get icon size 192x196, 512x516 instead of 192x192, 512x512 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwa-asset-generator.