public Image ByteArrayToImage(byte[] iamgebytes) { MemoryStream ms = new MemoryStream(iamgebytes); Image image = Image.FromStream(ms); return image; } public byte[] ImageToByteArray(Image image) { MemoryStream ms = new MemoryStream(); image.Save(ms,…