gem install elrio
I just released version 0.0.1 of elrio, an analyzer and optimizer for resizable iOS assets. It's very rough around the edges, but gets the job done.
Run it with the
analyze command to get the resizable cap insets from an unoptimized asset, and with the
optimize command to create an optimized version of the asset.
Details and source on GitHub, pull requests welcome: https://github.com/cbguder/elrio