• 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
Re: NSImage GetPixel Function?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage GetPixel Function?


  • Subject: Re: NSImage GetPixel Function?
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 26 Apr 2002 19:34:45 -0700

On Friday, April 26, 2002, at 05:44 PM, Joe Zobkiw wrote:

Does anyone have an implementation of an NSImage GetPixelRGBA function? I
would like an easy way to simply get the RGBA value of a pixel somewhere in
the NSImage without worrying about the representation. (The A is
optional)...Thanks!

Sorry, but NSImages don't have pixels. Some (but not all) NSImageRep instances do.

What do you need to do?

-jcr


John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSImage GetPixel Function? (From: Joe Zobkiw <email@hidden>)

  • Prev by Date: Re: Loading dylibs inside of a framework
  • Next by Date: C'mon Apple! DECIDE!
  • Previous by thread: NSImage GetPixel Function?
  • Next by thread: NSBezierPath difficulties...
  • Index(es):
    • Date
    • Thread