0.10.0 • Published 10 years ago

image-assets v0.10.0

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

Build Status Coverage
Status

Mobile App Image Generator

To use, install and run $ generate_assets from a directory containing splash_template.png and icon_template.png. Assets will be created in Android and iOS folders.

Requirements (Mac)

The following requirements are required for Sharp (the image processor).

Install libvips via homebrew:

brew install homebrew/science/vips --with-webp --with-graphicsmagick

A missing or incorrectly configured Xcode Command Line Tools installation can lead to a library not found for -ljpeg error. If so, please try: xcode-select --install.

The gettext dependency of libvips can lead to a library not found for -lintl error. If so, please try brew link gettext --force.

For other platforms, see the Sharp documentation

Usage

CLI

Create a folder containing splash_template.png and icon_template.png. Run the command generate_assets and follow the instructions.

Library

The library can be used directly by requiring the image-assets lib.

Examples include ImageAssets.generateAndroidSplashAssets(path);

0.10.0

10 years ago

0.9.2

10 years ago

0.9.1

10 years ago

0.9.0

10 years ago

0.8.3

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago