Coder Social home page Coder Social logo

icreator's Introduction

iCreator

A command-line tool for creating all icons and launch-screen images of iOS App.


Getting started

First, download and install ImageMagick.

In Mac OS X, you can simply use Homebrew and do:

brew install imagemagick

Second, install Node.js.

brew install node

Then make sure A Icon Image (for creating icons) and A logo Image(for launch-screen) are prepared.

Notice: A launch-screen image == your logo over a solid-colored background.

Examples

  • generate all icons
node icreator.js  -icon:YourBigIcon.png
  • generate all launch-screen images. -color:backgorund-color
node icreator.js  -logo:YourLogo.png -color:#ffffff
  • -l means the App is running in Landscape
node icreator.js -logo:logo.png -color:#ffffff -l
  • -output:xxxx is output dir (relative to cwd)
node icreator.js  -icon:icon.png   -output:../icons

About the size of logo image

iCreator will draw your logo image on a solid-colored launch-screen image ( center alignment ).

The output image's size is between 320x480 to 1536x2048.

If screen-image's long side < 500 , iCreator will resize logo image to 50%.

If screen-image's long side > 1500 , iCreator will resize logo image to 200%.

So, it's recommended that let the size of your logo image be between 300x300 to 500x500.

icreator's People

Contributors

finscn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

icreator's Issues

can't find picture if Path too long. Must be installed near ~

Didn't look at the code but path is truncated at 36 char and
convert can't find the image.

I moved the converting directory with original large icon in home directory and it works

convert: unable to open image '/Users/Shared/AppleDev/XYZDev/logos': No such file or directory @ error/blob.c/OpenBlob/3094.

Can use node command!

I had installed the ImageMagick via 'sudo port install ImageMagick',it took me a lot of time.Then, I try 'node ../src/icreator.js -icon:big-icon.png -logo:logo.png -color:#ffffff -l' this command,the Terminal dispalys '-bash: node: command not found'

How can I fix this problem?

Thank you in advance.

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.