J Juan Romero Feb 17, 2004 #1 Hey guys, Does anyone know how to serialize an image or a class inherited from image? Thank you.
C Cor Feb 17, 2004 #2 Hi Juan, Do you mean something as this, I did send it today in this thread. Dim ms As New MemoryStream Dim arrImage() As Byte originalImage.Save(ms, ImageFormat.Jpeg) arrImage = ms.GetBuffer I thought ImageFormat.Bmp is better but I needed this for something extra I hope this helps Cor
Hi Juan, Do you mean something as this, I did send it today in this thread. Dim ms As New MemoryStream Dim arrImage() As Byte originalImage.Save(ms, ImageFormat.Jpeg) arrImage = ms.GetBuffer I thought ImageFormat.Bmp is better but I needed this for something extra I hope this helps Cor
H Herfried K. Wagner [MVP] Feb 17, 2004 #3 * "Juan Romero said: Does anyone know how to serialize an image or a class inherited from image? Click to expand... Mhm... The 'Bitmap' class is marked as 'Serializable', so what's the problem?
* "Juan Romero said: Does anyone know how to serialize an image or a class inherited from image? Click to expand... Mhm... The 'Bitmap' class is marked as 'Serializable', so what's the problem?