Image vs Bitmap class

user116864 picture user116864 · Jun 3, 2009 · Viewed 103k times · Source

I have trouble understanding the differences between the Image class and the Bitmap class. Now, I know that the Bitmap inherits from the Image but from what I understand both are very similar. Can anyone shed some light on this please?

Answer

Richard picture Richard · Jun 3, 2009

The Bitmap class is an implementation of the Image class. The Image class is an abstract class;

The Bitmap class contains 12 constructors that construct the Bitmap object from different parameters. It can construct the Bitmap from another bitmap, and the string address of the image.

See more in this comprehensive sample.