PDA

View Full Version : Creating icons on OS X.2.4


MacFiend
2003.04.05, 06:38 PM
I've already created the application icon I want to use in Photoshop. It's 128x128, 32-Bit, with an alpha mask (1 Layer, [I've tried working out my problem with image layer and mask layer also]).

Now I first tried just copying the image out of Photoshop and pasting it onto my application. That works, but the alpha channel is not included.

So I open up IconComposer (part of DevTools), and import the 128x128 photoshop image into the Thumbnail (128x128) area. It works fine; it's drawn just as it should be, with alpha channel and all.

Now I save the icns file, and this is where I get my problem. How do I get the icon image along with its alpha to my app? I've tried dragging the icon from IconComposer (which creates a picture clipping), but the image is drawn with black replacing the alpha channel. I tried opening the icns file with Preview and copying it from there, and the same thing happens. I don't get it, every other application (including the one I'm making the icon for) draws the image perfectly. Any ideas?

macboy
2003.04.05, 06:54 PM
I've also had this dilemma. I'm using 10.1.5.

OneSadCookie
2003.04.05, 07:35 PM
I assume you're making a bundled application with Project Builder. In that case, add the .icns file to your project, and in the target settings area, set the name of the application icon to the name of your icon file. Project Builder will automatically copy the icon to the right place in your bundle, and put the right entry in the Info.plist file so that the icon shows up.

You may have to restart the Finder & Dock (eg. by logging out then in again) to see the icon.

applekid
2003.04.05, 08:02 PM
i recommend you use IconMachine or Iconographer for creating icons. both have a Photoshop-style interface to a point. check them out. i *think* they may fix your problems.

Icon Machine: http://www.uncommonplace.com/shareware/iconmachine.html

Iconographer: http://www.mscape.com/products/iconographer.html

macboy
2003.04.05, 10:36 PM
Originally posted by applekid
i recommend you use IconMachine or Iconographer for creating icons. both have a Photoshop-style interface to a point. check them out. i *think* they may fix your problems.

Icon Machine: http://www.uncommonplace.com/shareware/iconmachine.html

Iconographer: http://www.mscape.com/products/iconographer.html Thanks. :) Iconographer helped.

kattkieru
2003.05.19, 03:04 PM
Hi,

I wouldn't worry about the alpha channel. Save your image with layers flattened to a PNG, then drag the PNG into IconBuilder. It takes layer transparency as alpha.

macboy
2003.05.19, 04:46 PM
Originally posted by kattkieru
I wouldn't worry about the alpha channel. Save your image with layers flattened to a PNG, then drag the PNG into IconBuilder. It takes layer transparency as alpha. I don't have PS.