icns2png – libicns

icns2png – Linux native OS X icns to png conversion

About icns2png

I wrote originally wrote Icon2PNG as a Mac OS utility for converting some of my Mac icons to PNG images. After I released Icon2PNG for the Mac, I began to receive several e-mails requesting a version for Linux. icns2png came out of that effort. Now, after many years of development, this project has morphed into a C library for reading and writing icns files.

The current version of icns2png has built-in support for extracting all known Mac OS icons sizes and bit depths, from 12×16 to 512×512, 1-bit to 32-bit. Further, it will extract icons from ‘icns’ resources in formats, rsrc, MacBinary, AppleSingle, and AppleDouble. This should account for pretty much every representation you will encounter an icns icon in on Linux.

You can download icns2png (as part of libicns) here.)

The project [icns] is at http://sourceforge.net/projects/icns/

Examples of Icons converted with icns2png

Converted from an OS X .icns file

Converted from an OS X resource file

Converted from a resource fork within a MacBinary file


No Comments on “icns2png – libicns” - Leave your comment below:

Leave a Reply