http://images.my-addr.com/resize_png_online_tool-free_png_resizer_for_web.php
由于是按比例切的
不想手动选择
就写了个js
var array =document.getElementsByTagName('option'); for(var b in array) { if(array[b].value == 0) array[b].selected = true; if(array[b].value=='perc') array[b].selected =true; } var array =document.getElementsByTagName('input'); var map = [87,87,58,58,39,39,'100','100'] for(var b in array) { if( array[b].size==4 && b.length>3 ) b,array[b].value=map.pop(); }
外国的
http://romannurik.github.io/AndroidAssetStudio/nine-patches.html