generate-app-images

1.1.5 • Public • Published

generate-app-images

What:

This can take a single icon image and generate all of the icons and splash images you need for iOS and Android cordova apps.

How:

This exports a single function, writeImages(options?: Options).

Options:

{
    source: "./images/", // the folder where the source image(es) live
    fillColor: "", // the color to draw behind/around the image, default value is "". The special value "" (empty string) actually means we sample the top-left pixel and use that color
    applyGradientToIcons: true // whether to draw a gradient over the image to give it a 3d look
}

Readme

Keywords

none

Package Sidebar

Install

npm i generate-app-images

Weekly Downloads

4

Version

1.1.5

License

ISC

Unpacked Size

9.45 kB

Total Files

4

Last publish

Collaborators

  • joeflateau