Utilities for android-9-patch images.