Image vs BitmapImage vs Bitmap

I was wondering what the difference is between Image - Bitmap - BitmapImage in WPF and C #.
Can someone help me?

+5
source share
2 answers

Image is a basic abstract class representing images in GDI +. Bitmap is a concrete implementation of this base class.

BitmapImage is a way of representing an image in a vector graphics engine such as WPF and Silverlight. Unlike Bitmap, it is not based on GDI +. It is based on the Windows Imaging component .

There are ways to download BitmapImagefromBitmap .

+13

WinForms/GDI + System.Drawing.Image Bitmap.

WPF System.Windows.Media. ImageSource ( BitmapSource) BitmapImage.

WPF Image, FrameworkElement, ImageSource.

, ...

+6

All Articles