2,854 questions
Hi, System.Drawing.ImageConverter converts objects from System.Drawing Namespace. Objects from namespace System.Windows.Media (PresentationCore.dll) like BitmapImage must be converted explicitly. Get byte array you can use this code:
Dim ms = TryCast(clsImage.StreamSource, MemoryStream)
Dim bts As Byte() = ms.ToArray