Thursday, July 9, 2009

Chapter 6-Lesson 2

  • Image is an abstract class.
  • Image class uses static methods to create objects to/from image files.
  • Bitmap class inherits from Image class and is used for still images.
  • MetaFile class also inherits from Image class and is used for Animated images.
  • Graphics class is still more complex than Bitmap class. We can always use Graphics.FromImage( ) method to represent a Bitmap as a Graphics object and use Graphics methods over it.
  • To save images to a file, use Bitmap.Save( ) method.
  • ImageFormat enum specifies supported image formats (BMP, GIF, JPEG, TIFF, etc) for saving images.
  • SystemIcons class exposes standard windows icons (of size 40 x 40) as properties.

No comments:

Post a Comment