Renderizer is a Titanium build plugin that automates image rendering. It can
drive Adobe Illustrator or Inkscape. Given a
images.yaml configuration file,
it can render images depending on the platform you’re currently building for
It also supports plugins of its own, one of which allows for the easy creation of 9patch graphics by using an extra layer in Inkscape.
Check out the GitHub page for more information.
images.yaml file would look something like this: