app-icons-no-imagemagick

Create app icons, mainly for use with cordova

Usage no npm install needed!

<script type="module">
  import appIconsNoImagemagick from 'https://cdn.skypack.dev/app-icons-no-imagemagick';
</script>

README

app-icons-no-imagemagick

A library to generate app icons and splash, mainly designed for use with cordova.

Also creates icons for appstore and google play.

Uses https://github.com/oliver-moran/jimp for image manupilation so it requires no external dependencies.

Usage

var appIcons = require('app-icons-no-imagemagick');

appIcons({
    // options
},function(){
    // done callback
});

Options

var defaultOptions = {
    iconImage : __dirname+"/icon.png",
    splashImage : __dirname+"/splash.png",
    targetPath : __dirname+"/resources/",
    progressCB : null, /* Called after every image is created */
    createStoreIcons : true,
    errorCB : null
};