2

This question may be easy but I could not found answer on internet.

I have icon.png in Resource/drawable folder in Droid project. I want to convert this image into byte array.

I know the conversion from memory stream to byte array but I could not find a way to convert image to byte array or memorystream

Monica
  • 141
  • 4
  • 16
  • 1
    Possible duplicate of [this post](http://stackoverflow.com/questions/2829469/how-to-get-a-byte-array-from-a-drawable-resource) – Demitrian Jan 19 '17 at 11:26
  • 2
    Possible duplicate of [How to get a byte array from a drawable resource ?](http://stackoverflow.com/questions/2829469/how-to-get-a-byte-array-from-a-drawable-resource) – Jason Jan 19 '17 at 14:17
  • Thanks for commenting @Demitrian. But I want to convert image in xamarin.forms. Is it possible in xamarin.forms ?? – Gayatri Gokhale Jan 21 '17 at 08:28

0 Answers0