4

I'm working with a designer generated photoshop psd that contains various UI elements for an iOS app, and I'm slicing their backgrounds into smaller images and using resizableImageWithCapInsets for efficiency. There are a lot of them, and it's quite tedious work.

What I'm looking for is a tool that will help with this process, something like Draw NinePatch that will take a .png file, and a list of cap insets, and then spit out a smaller .png.

Anyone heard of such a thing?

4

1 回答 1

2

我找不到任何东西,所以我写了一个简单的工具。如果其他人有这个问题,你去:

https://github.com/kcoop/CapInsetImageGenerator

于 2012-12-20T05:19:26.270 回答