Create an NSImage using pixel (RGB) data
Create an NSImage using pixel (RGB) data
- Subject: Create an NSImage using pixel (RGB) data
- From: Simon Raisin <email@hidden>
- Date: Tue, 25 May 2010 08:24:39 -0400
Hi,
I would like to create an new NSImage (of a specified size) by modifying its
pixel data directly. I'm assuming that I have to create/provide a
representation then call [rep bitmapData], but I've been unable to come up
with a working solution thus far.
Does anyone know of an example I might look at?
Thanks in advance,
Cat
_______________________________________________
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