Re: Vector Graphic Dock Icon?
Re: Vector Graphic Dock Icon?
- Subject: Re: Vector Graphic Dock Icon?
- From: Clark Cox <email@hidden>
- Date: Wed, 6 May 2009 10:38:17 -0700
On Wed, May 6, 2009 at 7:44 AM, Chris Idou <email@hidden> wrote:
>
>
> Is it possible to use a vector graphic as a dock icon?
That depends. For a running application, you can set the application
image to anything that NSImage supports. For the icon when your app
isn't running, it needs to be a *.icns file. Fortunately, that format
supports multiple size representations of the icon in a single file
(essentially a MIP map), so, despite being a bitmap format, the sizes
can be tuned for specific sizes (512x512, 256x256, 128x128, 32x32 and
16x16).
> The Apple doco seems to encourage using vector graphics, but I can't find it documented what format it would expect. I tried a PDF but that didn't seem to work.
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden