Re: NSImage is a pain
Re: NSImage is a pain
- Subject: Re: NSImage is a pain
- From: Scott Thompson <email@hidden>
- Date: Thu, 23 Jun 2005 23:16:13 -0500
I suspect that using Quick Time or vImage/Core Image to perform
efficient manipulation of bitmap pixel data may be more what the
original poster wants.
Another interesting tool for working with images and treating one of
the colors in the image as transparent is:
CGImageCreateWithMaskingColors
This allows you to take the image data and create a CGImage from it
assuming that certain color ranges are mapped out (you could clamp
the color range to just a single color if desired).
If you wanted to dump out the resulting transparent image you could
simply use Image I/O (CGImageDestination).
Unfortunately, all this is Tiger only.
Scott
_______________________________________________
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