premultiplied alpha

by hackerEnthusiast » Thu, 09 Apr 2009 20:44:23 GMT

Sponsored Links
 Hey there,

Is it possible to have the android framework output unmultiplied
alpha? If so, could it be done in the current framework by simply
changing the config? I understand that this change would mean a big
hit in performance, just wondering how flexible is the current
framework. Thanks!

premultiplied alpha

by Mike Reed » Mon, 13 Apr 2009 13:33:32 GMT

 As you say, there is a performance hit, but today you can get this by
calling Bitmap.getPixels(). It always returns unpremultiplied pixels.
If you want the system to native draw in unpremul, that's a
different/harder story.

On Thu, Apr 9, 2009 at 4:44 PM, hackerEnthusiast


Sponsored Links

Other Threads

1. buffer passing in opencore/omx

I want to force a parser (say MP3) in opencore to use the buffer
allocated by OMX (MP3) decoder. It is possible to force opencore to
use OMX_AllocateBuffer() on OMX component by implementing PV
cabilities extension parameter. However, it looks like opencore still
copies contents from a parser buffer to the buffer allocated by OMX
decoder. Is there a way to avoid this and minimize copy operations?


2. How to show a link text, when clicks on it, it shows a web view

Hi friends,

I would like to show a link text, (for example, myLink is text with
underlined), if the user clicks on it, it should show a webpage.

can any one please suggest me how to do it?


3. AutoCompleteTextView, runQueryOnBackgroundThread and getFilterQueryProvider - no FilterQueryProvider

4. Check whether a thread is running

5. Starting A New Activity using explicit intents

6. WebView: Passing JSON from Java to JavaScript

7. how can I get date from web behind proxy?