RGB565 Bitmap on RGB888 Bitmap in Android

434 views
Skip to first unread message

Chromium Learner

unread,
Jan 15, 2015, 10:08:34 AM1/15/15
to skia-d...@googlegroups.com
I am trying to understand how the RGB565 Bitmap gets drawn on RGB888 Canvas in Android.

Is there a documentation to look at it /quick notes to go over this ?

Chandramouli Sanchi

unread,
Jan 16, 2015, 3:33:01 AM1/16/15
to skia-d...@googlegroups.com

Plz refer SkColorPriv.h for color conversion. 

In ur case src is RGB565 and dst is ARGB8888. 

Since there is no alpha in RGB565 skia assumes alpha = 255 and draw.

On Jan 16, 2015 12:08 AM, "Chromium Learner" <chromiu...@gmail.com> wrote:
I am trying to understand how the RGB565 Bitmap gets drawn on RGB888 Canvas in Android.

Is there a documentation to look at it /quick notes to go over this ?

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages