Re: premultiplying alpha

2010-05-05 Thread Thomas Davie
On 5 May 2010, at 06:05, Ken Ferry wrote: > > On Tue, May 4, 2010 at 9:30 AM, David Duncan wrote: > On May 4, 2010, at 8:57 AM, Thomas Davie wrote: > > > After much searching about, I discovered (contrary to what the docs say), > > that NSBitmapImageReps do not always premultiply their r/g/b

Re: premultiplying alpha

2010-05-04 Thread Ken Ferry
On Tue, May 4, 2010 at 9:30 AM, David Duncan wrote: > On May 4, 2010, at 8:57 AM, Thomas Davie wrote: > > > After much searching about, I discovered (contrary to what the docs say), > that NSBitmapImageReps do not always premultiply their r/g/b by their alpha. > > I think you're misreading somet

Re: premultiplying alpha

2010-05-04 Thread David Duncan
On May 4, 2010, at 8:57 AM, Thomas Davie wrote: > After much searching about, I discovered (contrary to what the docs say), > that NSBitmapImageReps do not always premultiply their r/g/b by their alpha. > Because of this, I've dived in, and attempted to write my own > premultiplication, but so

premultiplying alpha

2010-05-04 Thread Thomas Davie
After much searching about, I discovered (contrary to what the docs say), that NSBitmapImageReps do not always premultiply their r/g/b by their alpha. Because of this, I've dived in, and attempted to write my own premultiplication, but something is going very wrong. Some images are coming out