• 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: Finding out Dock icon size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding out Dock icon size


  • Subject: Re: Finding out Dock icon size
  • From: Ricky Sharp <email@hidden>
  • Date: Tue, 02 Jan 2007 09:10:41 -0800

On Tuesday, January 02, 2007, at 10:53AM, "Michael Watson" <email@hidden> wrote:
>Right now in Tiger, the max is 128x128, so it doesn't really matter.
>In Leopard, this may change. However, everyone who can tell you this
>is under NDA, and can't talk about it here.

Actually, resolution independence made its debut in Tiger (which documents icons being larger than 128x128).

Now then, I have not yet looked into icons being able to work with vector-based data (e.g. PDF).   Assuming one cannot yet do that, what you'll want to do is create a multi-resolution image.  There are utilities in Tiger to help you assemble such images.

The OS (I believe going back to 10.4.0; maybe earlier?) will choose the appropriate flavor at runtime depending upon the scaling factor.  This is also the approach I use for large cursors*.

Common resolutions to provide are a 72dpi flavor and a 288dpi flavor.

* NSCursor, BTW, does work with PDF data.  For my needs, my cursor artwork was too complex to become vector-based such that it would look good at every scaling factor.

--
Rick Sharp
Instant Interactive(tm)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

References: 
 >Finding out Dock icon size (From: leenoori <email@hidden>)
 >Re: Finding out Dock icon size (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: Finding out Dock icon size
  • Next by Date: Confusing terms - menu/menubar
  • Previous by thread: Re: Finding out Dock icon size
  • Next by thread: Confusing terms - menu/menubar
  • Index(es):
    • Date
    • Thread