Código:
Ahora quisiera saber como obtener los bytes apartir de un objeto tipo Bitmap, por decir algo creo este código:public static byte[] tomaBytes(string archivin)
{
byte[] imagenBytes;
if (File.Exists(archivin) == true)
{
imagenBytes = File.ReadAllBytes(archivin);
}
return imagenBytes;
}
Código:
Como hago para obtener los byte[] del tmpBitmap?Bitmap tmpBitmap = new Bitmap(archivin);
Y como hacer el proceso contrario, si tengo un arreglo de bytes como hacer para exportarlo y crear un archivo de imagen en el disco duro.
Gracias.


