Re: NSImage with multiple representation sizes
Re: NSImage with multiple representation sizes
- Subject: Re: NSImage with multiple representation sizes
- From: Rob Keniger <email@hidden>
- Date: Wed, 9 Sep 2009 11:22:38 +1000
On 09/09/2009, at 6:20 AM, Ken Ferry wrote:
On 10.6 and later, yes, you can count on it choosing 16x16 pixel
representation. We're not looking at resolution anymore, only
number of
pixels in rep vs number of pixels to be filled.
I'm pretty sure it would on previous OSes too, but not 100% positive.
It works this way on 10.5. It's easy to test, dump a multi-resolution
TIFF into an NSImageView set to resize with the window and scale the
window up and down. If the TIFF contains different images at each
resolution (say the number 16 for a 16x16px rep, and the number 128
for a 128x128px rep) then you'll see the various representations drawn
as you resize.
--
Rob Keniger
_______________________________________________
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