Source .9.png:

Please select the n-patch image file to start parsing into JavaScript.

Source image:
Parsed image:
Pencil supports parsing and embedding scalable n-Patch format that is used in the Google Android OS. More information:

Result: