creating NSimage from NSbitmapRep from int* using NSData?

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2010-03-22T22:05:12Z Indexed on 2010/03/22 22:21 UTC
Read the original article Hit count: 264

Filed under:
|
|

I have an int* of rgb data,width, height, and scanlinestride where i would like to create an NSImage.

i have looked around and found that i need to use NSData?

what is the ideal way of doing this?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa