Question

I have a whole bunch of 9-patch images in xhdpi density and need to scale them down to hdpi, mdpi and ldpi. I know that the Android Asset Studio can do that, but only one at at time. I was wondering if there is a tool or script that i could use to scale them all at once. The only scripts that i've found can only scale normal images, not 9-patches. Any ideas?

Thanks Simon

Was it helpful?

Solution 2

Use the script from the following link. I use this all the time.
http://neatocode.tumblr.com/post/34964277213/low-cost-phones

OTHER TIPS

9patch-resizer will do bulk conversions with a nice drag and drop interface. You should be careful using this method because some images won't scale nicely using the naive algorithmic approach to all densities.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top