Script file See: Https://coding.net/u/hust_wsh/p/GenerateIcons/git
For use, add a few notes:
1. Preparation: Save the Jsx file locally and put it in Photoshop's preset script folder, in the Adobe Photoshop installation directory Presets\deco directory, for example my is in: D:\Program files\adobe\adobe Photoshop CS6 (\presets\deco Bit)
2. Open or restart Photoshop, you can see the generateicons in the Script menu, such as:
3. Open the corresponding icon PSD file (must), and then click the Generateicons menu item, then you can choose to generate a folder, a button to generate all the icon size, and sub-folder also divided the class, directly copied to the Android Res folder overwrite processing can be, and the efficiency is lifted.
Photoshop automatically exports Android and iphone icons in all sizes to support the new Android Studio