批处理代码:
set PATH=D:\Desktop\changeIcon\icon 路径
set EXE=%PATH%\resize\convert.exe
set SRC_IMAGE=%PATH%\icon.png
%EXE% %SRC_IMAGE% -resize 192 %PATH%\android\drawable-xxxhdpi\icon.png
%EXE% %SRC_IMAGE% -resize 144 %PATH%\android\drawable-xxhdpi\icon.png
%EXE% %SRC_IMAGE% -resize 96 %PATH%\android\drawable-xhdpi\icon.png
%EXE% %SRC_IMAGE% -resize 48 %PATH%\android\drawable-mdpi\icon.png
%EXE% %SRC_IMAGE% -resize 32 %PATH%\android\drawable-ldpi\icon.png
%EXE% %SRC_IMAGE% -resize 72 %PATH%\android\drawable-hdpi\icon.png
工具下载:http://down.51cto.com/data/2225108
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。