Click to See Complete Forum and Search --> : What is the difference...


JustSomeGuy
April 15th, 2008, 02:35 PM
Between an Image and a Bitmap?

I've seen in the ImageList class that they are casted between one another...

zdavis
April 15th, 2008, 02:47 PM
It looks like bitmap uses Image() as its base class.
I would think that bitmap is a more complex class that has actual pixel data.

Image:

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.image.aspx

Bitmap:

http://msdn2.microsoft.com/en-us/library/system.drawing.bitmap.aspx

That should explain the difference between the two.

-zd