Sir,
I am a big Fan of Yours. I am a beginner also. I want to develop a project in Xamarin Android, so that converts an image in ImageView to Byte[] & Vice a Vise in Xamarin Android.
Please Help me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pranjet SolutionsPosted Jul 21, 2019, 12:21 PM
Bitmap bitmap = BitmapFactory.DecodeResource(getResources(), R.drawable.large_icon);
MemoryStream streamPIC = new MemoryStream();
bitmap.Compress(Bitmap.CompressFormat.Png, 0, stream);
byte[] bytePhoto = streamPIC.ToArray();
Mushtaq M APosted Jul 4, 2019, 9:25 PM
Pranjet SolutionsPosted Jun 30, 2019, 11:27 AM
Mushtaq M APosted Jun 29, 2019, 10:57 AM
Pranjet SolutionsPosted Jun 25, 2019, 2:37 AM
Mushtaq M APosted Jun 23, 2019, 6:05 AM