• 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: Problem with converting an NSImage to grayscale
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with converting an NSImage to grayscale


  • Subject: Re: Problem with converting an NSImage to grayscale
  • From: Heinrich Giesen <email@hidden>
  • Date: Tue, 30 Aug 2005 17:00:58 +0200


On 30.08.2005, at 16:31, John C. Randolph wrote:

The Image Difference sample is correct, for versions of OS X prior to Tiger. The point I was making is that it's no longer necessary to do this at all, since CoreImage has a filter that does the RGB to grayscale mapping according to the NTSC formula.

I fully agree and I hope you do not feel offended by my remarks. I did not know why Arik wanted to convert an RGB image. Did he need a gray image or did he want to know more about dealing with pixels. I only wanted to point to the often unknown problem of padding bytes.

    Heinrich


-- Heinrich Giesen email@hidden


_______________________________________________ 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
References: 
 >Re: Problem with converting an NSImage to grayscale (From: Heinrich Giesen <email@hidden>)
 >Re: Problem with converting an NSImage to grayscale (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: RE: NSScrollView: iPhoto/iTunes border type?
  • Next by Date: Re: NSScrollView: iPhoto/iTunes border type?
  • Previous by thread: Re: Problem with converting an NSImage to grayscale
  • Next by thread: Re: Problem with converting an NSImage to grayscale
  • Index(es):
    • Date
    • Thread