Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How programaticaly convert png image in Resources directory in byte [] array (64)

$
0
0

I am developing one app in cross platform (iOS, Android and UWP) with xaml and c#. My database is SQLigth and the column type is Blob.
As I have an standard picture in png format (in Resources directory), I need programmatically convert them (without user intervention) in byte [] array (64) when the app start.
After the convertion I will save the array in the mentioned database column.
Please, help me with complete code if it is possible.
Thanks a lot (excuse my english).


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>