1.0.1 • Published 8 years ago

app-icon-generator v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

app-icon-generator

Generates Xcode compatible .appiconset from single image file.

Created output is automatically recognized by Xcode.

For best results use at least 180x180 px image.

usage

const appIconGenerator = require('app-icon-generator');
const path = require('path');

// you must provide absolute paths for safety
const from = path.resolve(__dirname, 'image.png');
const to = path.resolve(__dirname, 'Project/Images.xcassets/AppIcon.appiconset')

appIcongenerator(from, to);

// that's all, now you have all possible icon sizes generated and imported
// into the Xcode project

usage with gulp

gulp.task('icons', function () {
  // paths as above
  return appIcongenerator(from, to);
});
1.0.1

8 years ago

1.0.0

8 years ago