[android-developers] Re: Merge two bitmaps

2012-08-01 Thread julious raj
You can create a framelayout as parent and add two imageviews as it's child. then add the images in imageviews and do the following View v = (FrameLayout)findViewById(R.id.parent) v.setDrawingCacheEnabled(true); Bitmap bm = v.getDrawingCache(); The Above bitmap is a merged one. Use it for your

[android-developers] Re: Merge two bitmaps

2012-07-31 Thread bob
Maybe change your canvas constructor to this? Canvas c = new Canvas (cameraBitmap); Then, draw foreground on canvas. On Tuesday, July 31, 2012 7:57:47 AM UTC-5, Numair Qadir wrote: I want to merge two bitmaps, here is my code / / Camera arg conversion to Bitmap Bitmap cameraBitmap