• 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
Set Alpha for an NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set Alpha for an NSImage


  • Subject: Set Alpha for an NSImage
  • From: Vance <email@hidden>
  • Date: Wed, 30 Jan 2008 09:07:48 -0800

Hi,

I have an NSImage (black and white) that I want to replace the black color with transparency.

I want it to be replaced in such a way, so even the shades of gray look correct when overlayed on top of another color, lets say blue.

What is the best way of do this?

Thanks.
Vance
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Set Alpha for an NSImage
      • From: "douglas a. welton" <email@hidden>
References: 
 >Named image for regular folder? (From: Jim Correia <email@hidden>)
 >Re: Named image for regular folder? (From: Ken Thomases <email@hidden>)
 >Re: Named image for regular folder? (From: Matt Gough <email@hidden>)

  • Prev by Date: Re: pathnames in Tiger not showing volume name
  • Next by Date: Re: Named image for regular folder?
  • Previous by thread: Re: Named image for regular folder?
  • Next by thread: Re: Set Alpha for an NSImage
  • Index(es):
    • Date
    • Thread