• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSImage get / set Pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSImage get / set Pixels
      • From: Ricky Sharp <email@hidden>
    • Re: NSImage get / set Pixels
      • From: glenn andreas <email@hidden>
  • Prev by Date: Accessing window back buffer without deprecated functions in Tiger
  • Next by Date: Re: NSImage get / set Pixels
  • Previous by thread: Res Independence [Was: Accessing window back buffer without deprecated functions in Tiger]
  • Next by thread: Re: NSImage get / set Pixels
  • Index(es):
    • Date
    • Thread