• 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: How to write a .icns file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to write a .icns file


  • Subject: Re: How to write a .icns file
  • From: John Brownie <email@hidden>
  • Date: Wed, 04 Jun 2014 11:27:52 +1000

On Wed Jun 04 2014 10:08:43 GMT+1000 (PGT) Graham Cox wrote:
But as long as the rep supports being drawn, you can always create your own NSBitmapImageRep and draw any other kind of rep into it, then extract the data of the one you created as PNG. --Graham

That was the trick I was missing — create a CGImageRef, then create the NSBitmapImageRef from that. Thanks for the pointer.

John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea | Papua New Guinea
_______________________________________________

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


References: 
 >Re: How to write a .icns file (From: John Brownie <email@hidden>)
 >Re: How to write a .icns file (From: John Brownie <email@hidden>)
 >Re: How to write a .icns file (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: How to write a .icns file
  • Next by Date: Re: iOS - NSOperation/NSOperationQueue Question
  • Previous by thread: Re: How to write a .icns file
  • Next by thread: Re: Multiple NSTextContainer
  • Index(es):
    • Date
    • Thread