How to extract Mac icons as full-resolution transparent PNG image files using Preview

By , Jul 22, 2014

OS X Mavericks (Mission Control icon, full size)

Our new contributor Timothy Reavis last Monday posted a nicely done how-to explaining how one can easily change app icons on the Mac using Finder and a little bit of Terminal trickery.

I myself often get asked about extracting high-quality Mac icons for use in blog posts, on websites and elsewhere. Granted, it’s easy to navigate to your Applications folder and screenshot a desired icon in the Finder’s CoverFlow or Icon view.

On the downside, doing so removes icon transparency and fails to produce a pixel-perfect replica of the original icon. This tutorial will teach you how to export any Mac app icon in its original size as a transparent PNG file…

Before we get to it, let me point out quickly that Apple’s Human Interface Guidelines for OS X development clearly mandate that developers include specific icon sizes in their app bundles.

In addition to the full-size 1,024-by-1,024 icon, developers must provide several smaller sizes that the operating system uses to enlarge and shrink the icon properly in various Finder views, minimizing artifacts.

Specifically, the required icon sizes are as follows: 16×16, 32×32, 64×64, 128×128, 256×256, 512×512 and 1,024×1,024 pixels. In addition, each may be provided in 72 and 144 pixels-per-inch flavors for use on non-Retina and Retina screens.

How to extract a Mac app icon as a transparent PNG

Step 1: Navigate to the Applications folder in Finder, either manually or by hitting the Shift-⌘-A combo on your keyboard. Locate a desired app – in this case Mission Control – and click once to highlight it. Of course, you could just as easily highlight any other app or document icon anywhere on your Mac.

OS X Mavericks (Finder, Mission Control 001)

Step 2: Press ⌘I on your keyboard to bring up the item information window in Finder. Alternatively, right-click the application and select ‘Get Info.’

OS X Mavericks (Get Info, Mission Control 001)

Now click once on the app’s icon in the top left corner of the Info panel to highlight it. Next, press ⌘C on the keyboard – this will copy the icon’s graphics to the system clipboard.

Step 3: Launch the stock Preview app from your Dock. If it’s not in the Dock, use the Spotlight icon in the upper right corner of the Mac’s menubar and type ‘Preview’ to locate the app (spoiler: it’s inside the Applications folder by default).

OS X Mavericks (Preview on Dock 001)

Step 4: With Preview launched, press ⌘N to create a new document from clipboard. Alternatively, choose this option from Preview’s File menu.

OS X Mavericks (Preview, New from Clipboard 001)

Step 5: You’ll see something like this. In the lefthand column, Preview provides your icon’s graphics in multiple sizes. To check the provided resolutions, choose ‘Show Inspector’ from Preview’s Tools menu.

OS X Mavericks (Preview, Mission Control 001)

Step 6: The first icon at the top is the full-resolution variant you need. Right-click it and choose ‘Export As…’ from the drop-down menu.

OS X Mavericks (Preview, Mission Control 002)

Step 7: The file sheet will appear offering to save the chosen icon size in several graphics formats such as JPEG, JPEG-2000, OpenEXR, PDF, PNG, TIFF and ICNS, the latter being the Mac’s default app icon bundle format.

OS X Mavericks (Preview, Mission Control 003)

Choose ‘PNG’.

Name your file, hit the Save button and that’s it!

You now have a beautiful pixel-by-pixel version of the original icon, saved in the lossless PNG format and with transparency preserved.

From there, upload it to your blog and use it in posts, for your video compositions, in document layouts, presentations and what not.

Check out the System Information app icon below.

OS X Mavericks (System Information icon, full size)

Full-size icon PNGs tend to be fairly large for comfortable use on the web so it may be a good idea to convert them to JPG – assuming you don’t care about transparency and are not concerned about light compression artifacts barely visible to the naked eye.

This tutorial can be used to export any OS X app/document icon as a transparent PNG. Here’s a pretty icon graphics for Pixelmator, the full-featured popular Photoshop replacement for the Mac (currently on sale in the Mac App Store for just $16, regularly $30).

Pixelmator for Mac (icon, full size)

Did you find this tutorial useful?

Have a trick or tip of your own you’d love to share with fellow readers?

Drop us your suggestions for how-tos on tips@iDownloadBlog.com and we’ll consider including best tips in future articles.

  • Share:
  • Follow:
  • Mini Apple Genius

    Thank you for this!

  • Anthony Snyder

    Wow, I didn’t know that you could copy the icon. Thanks.

    • elr0y7

      I swear, I literally learn something new every day about Macs.

  • Ashley Bowser

    Very easy to do! Thanks for the tip.

  • Scott A. Rossell

    You can also just drag and drop the .app file onto the Preview icon in the dock to achieve the same.

  • Danibal59

    I have a question, how come when I change the icon of a program, in this case it was Steam, when I open it the old icon is back again how do I fix this???

  • http://artofmob.com/ Geri Centonze

    This is a great tutorial – is there any way to do this for iPad app icons?