icongenie | CLI tool to generate all the icons and splashscreens | Icon library
kandi X-RAY | icongenie Summary
kandi X-RAY | icongenie Summary
This node module outputs a set of SQUARE favicons, webicons, pwa-icons and electron-icons as well as iOS, Windows Store and MacOS icons from an original 1240x1240 square icon that retains transparency and also minifies the assets. It will also create splash screens for Cordova/Capacitor and even a minified svg. It works cross-platform to generate those pesky .icns and .ico files used by Electron apps and in the case of the latter preferred by some browsers and webscrapers (favicon.ico) - even though modern development guidelines for Apple and Windows recommend using .png. It has two primary interfaces (with Quasar CTX and as a standalone CLI) and although it is built for the Quasar Framework, it should work anywhere you can run node. You can even import it and use it in your own pipelines if that's your thing. It is designed to be a very useful tool that you will be glad to have lying around. You MUST use PNG. If you use a source image that is smaller than 1240x1240 some icons will be naively upscaled. If you do not use a square original, it will be cropped square from the center using the smaller dimension as width and height - but will never upscale - which can potentially result in non-square results. You have been warned. A final note: You should always pad your icon design with about 1% of empty space. This is because you will lose aliasing resolution when downscaling, which means at smaller sizes your round icon (if it doesn't have padding) will seem to have flattened top, bottom, left and right sides.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Read the config file .
icongenie Key Features
icongenie Examples and Code Snippets
Community Discussions
Trending Discussions on icongenie
QUESTION
I'm building a PWA using quasar. I found a way to create a splash screen using .png in their documentation (using icongenie). However, I'd like to use .gif rather than .png. I've replaced the png files in config.xml. It doesn't work. It only gives me a blank screen and then my first page eventually shows after a couple of seconds. Is there some plugins or a way that I can use to solve the problem?
...ANSWER
Answered 2021-Dec-10 at 13:43I don't know Quasar so I'm going to answer for pure Cordova. GIF are not supported by the Splashscreen plugin. But if you want animations, you should consider using lottie animations and lottie splashscreen
QUESTION
How can I omit the cropping? I have an icon 512x512 I pass it to Icon Genie CLI and generate icons for my Capacitor app.
I use the command icongenie generate -m capacitor -i /path/to/source/icon.png
.
In result I get my icons cropped to rectangle and for ios it has a white background. Here is example of my input (512x512):
Here is example of my output (AppIcon-512@2x):
...ANSWER
Answered 2020-Dec-20 at 20:45I just came across this as well.
I used the following flag per the docs:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install icongenie
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page