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, john_brow...@sil.org or j.brow...@sil.org.pg
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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to