• 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 is a pain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: NSImage is a pain (From: Erik Buck <email@hidden>)

  • Prev by Date: Re: Core Data and Drag and Drop
  • Next by Date: Core Data relationships
  • Previous by thread: Re: NSImage is a pain
  • Next by thread: "And so on"
  • Index(es):
    • Date
    • Thread