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.
More details coming soon!
npm install -g ninepatcher
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.
Click here to view the changelog.