Package Exports
- makeappicon
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (makeappicon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
makeappicon
Open source alternative to makeappicon.com to generate all icons for your iOS Apps. This module generates all ios icons with a single command and produces a drag and drop ready AppIcon.appiconset
!
Requirements
- Homebrew to install packages on MacOS
gm/covert
binaries in your$PATH
as explained here. On MacOS, run the following:
brew uninstall imagemagick graphicsmagick libpng jpeg
brew cleanup -s
brew install graphicsmagick
Usage:
Fire up a terminal and type:
npm install -g makeappicon
Create a 1024x1024 png image and execute the script as such:
makeappicon --base-icon pathToBaseIcon.png
That takes the icon file and generates all the images that you need into the AppIcon.appiconset
directory. Open XCode, open your Images.xcassets
pane and delete the default AppIcon entry, now drag and
drop the entire AppIcon.appiconset
directory into that pane and you should be good to go! Build your app
and you should see your new icon all over the place.
Troubleshooting
gm/convert binaries can't be found
If you get a message saying "this most likely means the gm/convert binaries can't be found", refer to Requirements.
Credits:
- makeappicon.com for the idea
- Toaster ASCII Art from retrokunkie
Todo:
- Functional tests
- Unit tests
Disclaimer
This module is in no way, shape or form associated with OURSKY.