# ionic-resources **Repository Path**: huangjianping/ionic-resources ## Basic Information - **Project Name**: ionic-resources - **Description**: Gen icon and splash for Ionic - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-04-06 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ionic-resources [![Gitter](https://badges.gitter.im/helixhuang/ionic-resources.svg)](https://gitter.im/helixhuang/ionic-resources?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Base on [https://github.com/AlexDisler/cordova-splash](https://github.com/AlexDisler/cordova-splash) and [https://github.com/AlexDisler/cordova-icon](https://github.com/AlexDisler/cordova-icon) Automatic splash screen and icon generator for Cordova(Ionic). Create a splash screen (2732x2732) and an icon (1024x1024) once in the resources folder of your Cordova project and use cordova-resgen to automatically crop and copy it for all the platforms your project supports (currenty works with iOS, Android and Windows 10). ### Installation $ sudo npm install cordova-resgen -g ### Requirements - GraphicsMagick installed (*Mac*: `brew install graphicsmagick`, *Debian/Ubuntu*: `sudo apt-get install graphicsmagick`, *Windows*: [See here](http://www.graphicsmagick.org/INSTALL-windows.html)) - At least one platform was added to your project ([cordova platforms docs](http://cordova.apache.org/docs/en/edge/guide_platforms_index.md.html#Platform%20Guides)) - Cordova's config.xml file must exist in the root folder ([cordova config.xml docs](http://cordova.apache.org/docs/en/edge/config_ref_index.md.html#The%20config.xml%20File)) ### Usage Create a `splash.png` and a 'icon.png' file in the root folder of your cordova project and run: $ cordova-resgen ### License MIT