Re: Working with icns files in Cocoa
Re: Working with icns files in Cocoa
- Subject: Re: Working with icns files in Cocoa
- From: Dave Carpeneto <email@hidden>
- Date: Thu, 7 Apr 2005 00:21:03 -0400
And there you go - this works perfectly. Thanks for helping (-:
On 6-Apr-05, at 9:49 PM, Daniel Waylonis wrote:
I think that when you use [NSWorkspace iconForXXX:], you'll get an
NSImage that may have more than one representation (e.g., probably 3
different sizes). You can use [<NSImage> representations] to get the
NSArray of all of them and then pick one to your liking.
As far as the image mask goes, once you have the image rep, you could
probably extract the alpha data.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden