• 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
NSBitmapImageRep, precomputing alpha
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBitmapImageRep, precomputing alpha


  • Subject: NSBitmapImageRep, precomputing alpha
  • From: Raphael Sebbe <email@hidden>
  • Date: Sat, 22 Dec 2001 18:58:54 +0100

Hi all,

I just would like to have the confirmation that when manually setting pixel colors of an NSBitmapImageRep with an alpha channel, you MUST manually premultiply the color components by the alpha value (per pixel). It took me hours to figure that out, debugging... Assuming this is correct, it should definitely appear in the doc.

Raphael


  • Prev by Date: TCP/IP Connections
  • Next by Date: Re: Cross platform Cocoa/Obj-C
  • Previous by thread: Re: TCP/IP Connections
  • Next by thread: Re: NSBitmapImageRep, precomputing alpha
  • Index(es):
    • Date
    • Thread