Drawing NSImage in grayscale
Drawing NSImage in grayscale
- Subject: Drawing NSImage in grayscale
- From: Peter Ammon <email@hidden>
- Date: Fri, 30 Nov 2001 17:13:26 -0500
Are there any easy techniques (e.g. compositing operations, perhaps in
several passes) for drawing a color NSImage instantiated from a tiff
file in grayscale?
The only way I can think of would be to create an NSBitmapImageRep with
one data plane and draw into that.
Thanks for any ideas!
-Peter