NSImage get / set Pixels
NSImage get / set Pixels
- Subject: NSImage get / set Pixels
- From: goessly <email@hidden>
- Date: Thu, 16 Mar 2006 15:57:41 +0100
I'd like to copy a pixel to an NSImage *outputImage (at the NSPoint
*targetCoordinates).
The pixel is to be read from another NSImage *inputImage (at the
NSPoint *sourceCoordinates).
Something like
[outputImage drawAt: targetCoordinates copiedPixelFrom: [inputImage
pixelAt: sourceCoordinates] ]
How can I accomplish this? NSImage seems to lack getters / setters
for pixels at given coordinates.
Thanks in advance,
goessly
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden