Re: Finding out Dock icon size
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