Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Screencapture:get Bitmap from Textureview and display in imageview android

can anyone suggest me how to get Bitmap from Textureview and display in Imageview

I used following link but it didn't help. Advice on Android TextureView and Bitmap Rendering

like image 890
Catcaty Avatar asked Dec 24 '22 19:12

Catcaty


1 Answers

Bitmap bitmap = yourTextureView.getBitmap();
yourImageView.setImageBitmap(bitmap);
like image 112
ins1der12111991 Avatar answered Jan 04 '23 23:01

ins1der12111991