Sam Brown

Converting .icns files to .png file format

I have been trying to figure this one out for a while now, how to get an .icns file into a Photoshop readable format without having to purchase an icon editing suite. This simple command line tool does the job perfectly:

sips -s format png /Users/sam/Desktop/PrefApp.icns --out /Users/sam/Desktop/PrefApp.png

Almost too easy. I had made a copy of the System Preferences icon file to my desktop and using the above command was able to convert the file to a .png file and load it up in Photoshop, transparency intact and in all of its 512×512 pixel glory.

Post a link to this on Twitter ↩

Comments

Harry Roberts 3 November 2007, 06:19 #1

I use this: http://www.telegraphics.com.au/sw/
It just allows you to open icons is PS from the open menu, and save them back.

Sam 6 November 2007, 03:31 #2

Harry, nice one. I hadn’t seen or heard of these plugins. Great find, thanks for the link.

Harry 6 November 2007, 06:55 #3

You’re welcome.

Commenting has closed for this article. Feel free to me.

Sam Brown co-founded Iterate, and was previously VP of Design at Foursquare. Based in NYC.

DribbbleEndorseFacebookFoursquareInstagramTwitter