Skip navigation.
 
mlHow to draw a CGImage object to a NSView?
FROM : Leopard x86
DATE : Wed Feb 20 23:21:31 2008

Hi everyone.
After reading the Quartz Graphics programming document, I am still 
trying to find a method to draw a CGImageRef object "directly" to a 
NSView / NSOpenGLView ...

My application decodes some files on the disk to into CGDataProvider, 
then uses the CGDataProviders to create CGImageRefs. I think it will 
cost too much performance to convert the CGImage objects to other 
formats, e.g. NSImage, CIImage. So I am wondering a direct way to draw 
CGImage to a NSView or NSOpenGLView.

Can anyone give me a suggestion? Thank you very much in advanced.
Good Luck.

Related mailsAuthorDate
mlRe: How to draw a CGImage object to a NSView? j o a r Feb 20, 15:34
mlRe: How to draw a CGImage object to a NSView? glenn andreas Feb 20, 16:12
mlRe: How to draw a CGImage object to a NSView? Mike Abdullah Feb 20, 16:12
mlRe: How to draw a CGImage object to a NSView? David Duncan Feb 20, 19:24
mlHow to draw a CGImage object to a NSView? Leopard x86 Feb 20, 23:21
mlRe: How to draw a CGImage object to a NSView? Ken Ferry Feb 20, 23:29
mlRe: How to draw a CGImage object to a NSView? Ken Ferry Feb 20, 23:34
mlRe: How to draw a CGImage object to a NSView? j o a r Feb 21, 00:04
mlRe: How to draw a CGImage object to a NSView? Jim Correia Feb 21, 00:26
mlRe: How to draw a CGImage object to a NSView? Ken Ferry Feb 21, 00:44
mlRe: How to draw a CGImage object to a NSView? Jim Correia Feb 21, 14:26