Skip to content

Instantly share code, notes, and snippets.

@rodolfofadino
Created April 9, 2012 17:04
Show Gist options
  • Select an option

  • Save rodolfofadino/2344765 to your computer and use it in GitHub Desktop.

Select an option

Save rodolfofadino/2344765 to your computer and use it in GitHub Desktop.
ConvertBytesToImage
public Image ConvertBytesToImage(byte[] byteArray)
{
MemoryStream ms = new MemoryStream(byteArray);
Image imagemRetorno = Image.FromStream(ms);
return imagemRetorno;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment