I\'ve got a byte array for an image (stored in the database). I want to create an Image object, create several Images of different sizes and store them back in the database (sa
You'd use a MemoryStream to do this:
byte[] bytes; ... using (var ms = new System.IO.MemoryStream(bytes)) { using(var img = Image.FromStream(ms)) { ... } }