You are here: Re: Any Intelligent Thoughts On This? « All PHP « IT news, forums, messages
Re: Any Intelligent Thoughts On This?

Posted by Jeckyl on 01/16/07 23:48

>>> :If an alpha channel is used in an image, it is common to also multiply
>>> :the color by the alpha value, in order to save on additional
>>> :multiplications during the compositing process. This is usually
>>> :referred to as premultiplied alpha. Thus, assuming that the pixel
>>> :color is expressed using RGB triples, a pixel value of (0.0, 0.5, 0.0,
>>> :0.5) implies a pixel which is fully green and has 50% coverage.
>>> ...wow...even Wikipedia FAILS to explain it
>>It just did .. READ IT
> I did read it, it says nothing of premultiplied RGB values. Yeesh, is
> yer stupid ass even READING this thread or are you just skimming it?

That is exactly what it is talking about. Its not that it doesn't say
anything .. its that you don't understand it.

If only for the sake of other readers of this thread, I'll spell it out more
clearly:

Premultiplying rgb means that you multiple each of the R,G,B values by (in
this case) the alpha value and keep that result (ie the premultiplied RGB
value). This saves you having to do that multiplication again when
processing the image. its an optimisation.
--
Jeckyl

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация