I am trying to get a GIF/PNG/JPG image out of a Sqlite database. Is there a way in Monotouch to convert the Blob field to an image?
I'm guessing:
Get data byte[] from SQLite into a memory stream:
MemoryStream blob = new MemoryStream(blobFromSQLite[]);
Load the data into a NSData object via the stream:
UIImage.LoadFromData(NSData.FromStream(blob));
But how do I get a stream from a sqlite field?