March 2003
Intermediate to advanced
896 pages
32h 35m
English
ImageFormat
This class represents the native format of a
System.Drawing.Image object. It encapsulates a
Guid uniquely identifying the format. There are a
set of static properties that return a format object for the
well-known image format types (e.g., Bmp,
Jpeg, and MemoryBmp).
You can get the internal format of an image by using the
RawFormat property.
public sealed class ImageFormat { // Public Constructors public ImageFormat(Guid guid); // Public Static Properties public static ImageFormat Bmp{get; } public static ImageFormat Emf{get; } public static ImageFormat Exif{get; } public static ImageFormat Gif{get; } public static ImageFormat Icon{get; } public static ImageFormat Jpeg{get; } public static ImageFormat MemoryBmp{get; } public static ImageFormat Png{get; } public static ImageFormat Tiff{get; } public static ImageFormat Wmf{get; } // Public Instance Properties public Guid Guid{get; } // Public Instance Methods public override bool Equals(object o); // overrides object public override int GetHashCode(); // overrides object public override string ToString(); // overrides object }
System.Drawing.Image.RawFormat
System.Drawing.Image.Save()
Read now
Unlock full access