• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Vector Graphic Dock Icon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Vector Graphic Dock Icon?
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >Vector Graphic Dock Icon? (From: Chris Idou <email@hidden>)

  • Prev by Date: Re: +[NSApp nextEventMatchingMask:...] from other thread
  • Next by Date: Re: NSManagedObjectContext -insertObject: Cancels Prior Deletion -- BUT!
  • Previous by thread: Re: Vector Graphic Dock Icon?
  • Next by thread: Re: Vector Graphic Dock Icon?
  • Index(es):
    • Date
    • Thread