public final class ImageFormat extends Object
Constructor and Description |
---|
ImageFormat(String guid)
Initializes a new instance of the ImageFormat class by using the specified Guid string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this
ImageFormat object.
|
static ImageFormat |
getBmp()
Gets the bitmap (BMP) image format.
|
static ImageFormat |
getEmf()
Gets the enhanced metafile (EMF) image format.
|
static ImageFormat |
getExif()
Gets the Exchangeable Image File (Exif) format.
|
static ImageFormat |
getGif()
Gets the Graphics Interchange Format (GIF) image format.
|
String |
getGuid()
Gets a Guid string that represents this ImageFormat object.
|
static ImageFormat |
getIcon()
Gets the Windows icon image format.
|
static ImageFormat |
getJpeg()
Gets the Joint Photographic Experts Group (JPEG) image format.
|
static ImageFormat |
getMemoryBmp()
Gets the format of a bitmap in memory.
|
static ImageFormat |
getPng()
Gets the W3C Portable Network Graphics (PNG) image format.
|
static ImageFormat |
getTiff()
Gets the Tagged Image File Format (TIFF) image format.
|
static ImageFormat |
getWmf()
Gets the Windows metafile (WMF) image format.
|
int |
hashCode()
Returns a hash code value that represents this object.
|
boolean |
isBitmapType()
Determines whether an image format is a bitmap type.
|
boolean |
isMetafileType()
Determines whether an image format is a metafile type.
|
boolean |
isUnknownType()
Determines whether an image format is unknown type.
|
String |
toString()
Converts this ImageFormat object to a human-readable string.
|
public ImageFormat(String guid)
guid
- The Guid string that specifies a particular image format.public boolean equals(Object o)
public static ImageFormat getBmp()
public static ImageFormat getEmf()
public static ImageFormat getExif()
public static ImageFormat getGif()
public String getGuid()
public static ImageFormat getIcon()
public static ImageFormat getJpeg()
public static ImageFormat getMemoryBmp()
public static ImageFormat getPng()
public static ImageFormat getTiff()
public static ImageFormat getWmf()
public int hashCode()
public boolean isBitmapType()
public boolean isMetafileType()
public boolean isUnknownType()