You Are Here: Home » Tech Articles » Generating Android icons for all screen densities in Photoshop (script)

Generating Android icons for all screen densities in Photoshop (script)

As an Android developer, there are a few things that were a pain to do before this solution I will outline below. One of the pains was viewing small code and resource changes on the phone quickly. This was sorted in Android Studio Version 2 with Instant Run.

The other one has been generating icons and image resources for multiple screens as required by Android UI Guidelines. With the requirement to have different icons for different screen densities meant that for example instead of having one launcher icon, you would need 6.

Download Script

This meant manually saving an icon multiple times using Photoshop’s save for web feature. This was frustratingly slow and just plain irritating especially if you were working with multiple icons.

The solution is a Photoshop script which I have modified to do this automatically for you. After loading the script, you select the original icon, and it takes care of the rest by creating different icons in different sizes and  neatly placing them in their correct folders. All you then need to do to update your project is to copy the folders into your project res folder. Easy.

To make the script available in Photoshop’s script menu, you need to copy the script into the following folder:

C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Presets\Scripts

If it complains about access rights, just click continue and the file will be copied over. Then reopen Photoshop and you will see the script on the list:

Output-Android-Icons

Click on Output Android Icons and the magic will start.

Download Script

Hope you find it useful.

About The Author

Number of Entries : 30

Leave a Comment

© 2012 Powered By Wordpress, All rights reserved - Beaton Nyamapanda

Scroll to top