Skip to content

Instantly share code, notes, and snippets.

Created August 7, 2012 10:09
Show Gist options
  • Select an option

  • Save anonymous/3284192 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/3284192 to your computer and use it in GitHub Desktop.
private Image byteArrayToImage(byte[] byteArrayIn)
{
MemoryStream ms = new MemoryStream(byteArrayIn);
Image returnImage = Image.FromStream(ms);
return returnImage;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment