Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Monochrome Image
Last Revision: | Version 1.0, 2003-07-16 Applies the NTSC color weighting formula to an image to generate a monochrome version of the image. |
Build Requirements: | |
Runtime Requirements: | Mac OS X Mac OS X 10.2 |
This example shows how to convert an NSImage instance to monochrome, by applying the NTSC color weighting formula. Please note that this is not the fastest way to perform this conversion, but it shoud generate results that are pretty accurate. Requirements: Mac OS X 10.2 Keywords: monochrome NSImage NSBitmapImageRep
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-16