• 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: Working with icns files in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSTextView undo doesn't work for attributes? (From: Keith Blount <email@hidden>)
 >Working with icns files in Cocoa (From: Dave Carpeneto <email@hidden>)

  • Prev by Date: Re[3]: Hidden NSSlider
  • Next by Date: Re: C++ string and UTF8
  • Previous by thread: Working with icns files in Cocoa
  • Next by thread: Re: Working with icns files in Cocoa
  • Index(es):
    • Date
    • Thread