Getting a CGIImageRef from an NSImage in Cocoa on Mac OS X

Mike2012 picture Mike2012 · Nov 11, 2009 · Viewed 7.1k times · Source

I need to get a CGIImageRef from an NSImage. Is there an easy way to do this in Cocoa for Mac OS X?

Answer

Azeem.Butt picture Azeem.Butt · Nov 11, 2009