开发者

Creating a Bitmap from RGB video frames in Android

I have RGB video frames coming from native code, I have read somewhere its possible to convert RGB format frames into Bitmaps, Can anybody please help in telling how to achieve this in the application side (开发者_StackOverflowJAVA layer) in Android??


Try this:

Bitmap bmp= Bitmap.createBitmap(rgb, size.width,size.height, Bitmap.Config.ARGB_8888);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜