/ninepatcher

A tool to generate 9-patch images

Primary LanguageTypeScriptMIT LicenseMIT

ninepatcher

A tool to generate 9-patch images. This was created to support Roku development, but can be used for any 9-patch generation your project might need.

build status Coverage Status monthly downloads npm version license Slack

Overview

More details coming soon!

Installation

npm

npm install -g ninepatcher

Usage

Basic Usage

If you've already created a 9pg.json file containing your 9patch images, then it's as simple as running:

npx 9pg

That's it! It will find the 9pg.json file, and generate all of the 9-patch images specified.

Changelog

Click here to view the changelog.