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. drag and drop table rows?

Is it possible to drag and drop table rows in android? Say the user
holds down on a table row, the row would would become transparent and
be draggable around the screen & then depending where the user dropped
it, the table row would be inserted there.


2. SeekBar with Text?


is there a xml attribute to define text below the seekbar for the
values? or must i set TextViews below the seekbar?
Or is there a other similar widget for that problem??
I want to change km/h values with the seekbar. and the user wants to
see, which value they set.



3. Full Android Example using Twitter OAuth with Signpost

4. Need help regarding how to use MINI_THUMB_MAGIC

5. Dim Screen - Set to sleep programmatically

6. Dari magic pindah ke her

7. How do I retrieve the MIMETYPE of an entry?