macOS document icon template?
There is docerator tool which allows to
You can turn a directory full of .PNG files into an .ICNS or vice-versa using iconutil
. It comes with OS/X and is a command-line program:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/iconutil.1.html
You can also use Preview to extract individual PNGs out of the file. But to extract all the icons from the file you mention with their appropriate labels -- start up a command terminal in the directory where you want your output, and run this command:
iconutil -c iconset /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericDocumentIcon.icns -o ./GenericDocumentIcon.iconset
If you're going the reverse direction, note that when building an .ICNS the directory you are building it from must end in .iconset
and the filenames are very specific. The files in the directory must be named:
- icon_16x16.png
- [email protected]
- icon_32x32.png
- [email protected]
- icon_128x128.png
- [email protected]
- icon_256x256.png
- [email protected]
- icon_512x512.png
- [email protected]
For details on that and what the 2x is about, see High Resolution Guidelines for OS/X
The default page curl is rather "oppressive", especially at the small sizes like 16x16. Perhaps it looks good on a blank document icon, but when you're putting an image on it gets in the way. Document icons I looked at up close at that resolution often soften the gray edge on the curl and generally lighten up the darkness.
For instance, Google Chrome:
vs. the default:
I point it out just because I think it's a bit of a lost cause to make decent looking document icons at 16x16 if you follow their page curl there verbatim.
There are several tools, that converts your image (drawn in Photoshop) into an icon-format:
- Iconeer
- Img2icns
- IconBuilder
- Pic2Icon (seems to be not supported any longer)
- FastIcns
To convert an icon-format into another graphic-format (so you can easily modify) I can recommend:
- GraphicConverter
- PhotoLine
Greate sources for free icons are:
- freeiconsweb
- freeiconsdownload
- 60 Icon Photoshop Templates
Please read the licence of the sets you download! You can download a lot of free icons there and reuse them or even modify them. Then you can convert them back into the icon-format with the tools mentioned above.
You can find various curl images in the QuickLook framework:
/System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/
You can then composite your document icon over the generic document icon, which also gives you the mask for the curled page icon:
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericDocumentIcon.icns