Android : Convert RGB 565 bitmap to RGB 5551 bitmap in Android

on Thursday, September 25, 2014


I need to show an image coming in a byte buffer from cpp layer and passed to android layer to show in a bitmap as image. The bitmap coming from cpp layer is encoded in RGBA 5551. When i outputs the image to RGB 565 in android side but the image is appearing a blue shade due to incompatibility.


Is there any way to convert the RGBA 5551 to android compatible format. Also thought of using OpenGL but still having little idea in that :).


0 comments:

Post a Comment