• 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: image mask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image mask


  • Subject: Re: image mask
  • From: Nathan Day <email@hidden>
  • Date: Wed, 19 Feb 2003 14:48:40 +1030

Depend on exactly what effect you want, look at the NSImage composite methods and the constant NSCompositeSourceIn

On Tuesday, February 18, 2003, at 08:10 PM, Pavel Skurtul wrote:

Hi,

Is it possible to use NSImage as the mask for drawing other NSImages?
This mask is 8 bit colorgray image and I need to use its bits like alpha channel.

Thanks
Pavel

Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >image mask (From: Pavel Skurtul <email@hidden>)

  • Prev by Date: Re: 1 pixel width NSBezierPath issue
  • Next by Date: Re: Invalid window error for a status bar item popup
  • Previous by thread: image mask
  • Next by thread: NSTextField delegate
  • Index(es):
    • Date
    • Thread